Chapters
Chapters
CHAPTER 1
INTRODUCTION
Power factor is the ratio of true power or watts to apparent power or volt
amps. They are identical only when current and voltage are in phase then the
power factor is1.0. The power in an ac circuit is very seldom equal to the direct
product of the volts and amperes. In order to find the power of a single phase ac
circuit the product of volts and amperes must be multiplied by the power factor.
Ammeters and voltmeters indicate the effective value of amps and volts. True
power or watts can be measured with a wattmeter. If the true power is 1870 watts
and the volt amp reading is 2200 than the power factor is 0.85 or 85 percent.
True power divided by apparent power. The power factor is expressed in decimal
or percentage. Thus power factors of 0.8 are the same as 80 percent. Low power
factor is usually associated with motors and transformers. An incandescent bulb
would have a power factor of close to 1.0. A one hp motor has power factor
about 0.80. With low power factor loads, the current flowing through electrical
system components is higher than necessary to do the required work. These
results in excess heating, which can damage or shorten the life of equipment, a
low power factor can also cause low voltage conditions, resulting in dimming of
lights and sluggish motor operation. Low power factor is usually not that much
of a problem in residential homes. It does however become a problem in industry
where multiple large motors are used. So there is a requirement to correct the
power factor in industries. Generally the power factor correction capacitors are
used to try to correct this problem.
2
(1.6)
Since the rms voltage and current are given by
V=Vm / √2(1.7)
I=Im / √2(1.8)
The average power can be expressed as
Pavg =VI cosφ
4
(1.9)
The period T of the sinusoid is related to the angular frequency ω and angle θ by
2π
T= ω
(1.11)
The average of sin2q or cos² q is equal to ½. This can be shown using the
trigonometry identity:
(1.12)
This reduces the integral to the value 1/2 since the second term on the right has
an integral of zero over the full period
1.2. PHASE DIAGRAM
When capacitors or inductors are involved in an AC circuit, the current
and voltage do not peak at the same time. The fraction of a period difference
between thepeaks expressed in degrees is said to be the phase difference.
The phase difference is <=90°. It is customary to use the angle by which
the voltage leads the current. This leads to a positive phase for inductive circuits
since current lags the voltage in an inductive circuit.
5
The phase is negative for a capacitive circuit since the current leads the
voltage. The useful mnemonic ELI the ICE man helps to remember the sign of
the phase. The phase relation is often depicted graphically in a phasor diagram
1.4.2 Capacitor
A capacitor with AC supply and phasor diagram is shown in fig 1.7 which
shows the phase angle between current and voltage. In case ofCapacitorvoltage
lags current by 90°. The voltage across a capacitor lags the current because the
current must flow to build up charge, and the voltage is proportional to that
charge which is built up on the capacitor plates.
7
1.4.3 Resistor
A resistor with AC supply is shown in fig 1.8 and phasor diagram is
shown in fig 1.9 which shows the phase angle between voltage and current is 0°.
For ordinary currents and frequencies, the behavior of a resistor is that of a
dissipative element which converts electrical energy into heat. It is independent
of the direction of current flow and independent of the frequency. So we say that
the AC impedance of a resistor is the same as its DC resistance.
EXPLANATION
An electrical load that operates on alternating current requires apparent
power, which consists of real power plus reactive power.
Real power is the power actually consumed by the load. Reactive power is
repeatedly demanded by the load and returned to the power source, and it is the
cyclical effect that occurs when alternating current passes through a load that
contains a reactive component.
The presence of reactive power causes the real power to be less than the
apparent power, and so, the electric load has a power factor of less than 1.The
reactive power increases the current flowing between the power source and the
load, which increases the power losses through transmission and distribution
lines.
This results in operational and financial losses for power companies.
Therefore, power companies require their customers, especially those with large
loads, to maintain their power factors above a specified amount (usually 0.90 or
higher) or be subject to additional charges. Electrical engineers involved with the
generation, transmission, distribution and consumption of electrical power have
an interest in the power factor of loads because power factors affect efficiencies
and costs for both the electrical power industry and the consumers.
9
Real loads deviate from this ideal. Electric motor loads are phase lagging
(inductive), therefore requiring capacitor banks to counter this inductance.
Sometimes, when the power factor is leading due to capacitive loading, inductors
(also known as reactors in this context) are used to correct the power factor. In
the electricity industry, inductors are said to consume reactive power and
capacitors are said to supply it, even though the reactive power is actually just
moving back and forth between each AC cycle. Electricity utilities measure
reactive power used by high demand customers and charge higher rates
accordingly. Some consumers install power factor correction schemes at their
factories to cut down on these higher costs.
11
CHAPTER2
POWER FACTOR CONTROLLER
Generally there are two types of technique are used to control the power
factor These are:
2.1 PASSIVE PFC
This is a simple way of correcting the nonlinearity of a load by using
capacitor banks. It is not as effective as active PFC, switching the capacitors into
or out of the circuit causes harmonics, which is why active PFC or a
synchronous motor is preferred
2.2 ACTIVE PFC
An active power factor corrector (active PFC) is a power electronic system
that controls the amount of power drawn by a load in order to obtain a Power
factor as close as possible to unity. In most applications, the active PFC controls
the input current of the load so that the current waveform is proportional to the
mains voltage waveform (a sine wave).Some types of active PFC are: Boost,
Buck and Buck-boost. Active power factor correctors can be single-stage or
multi-stage. Active PFC is the most effective and can produce a PFC of 0.99
(99%)
2.3 SYNCHRONOUS PFC
Synchronous motors can also be used for PFC. Shaft less motors is used,
so that no-load can be connected and run freely on the line at capacitive (leading)
power factor for the purposes of PFC.
2.4 CAPACITIVE POWER FACTOR CORRECTION (CPFC)
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.
12
The current due to the leakage reactance is dependent on the total current
drawn by the motor, but the magnetizing current is independent of the load on
the motor. The magnetizing current will typically be between 20% and 60% of
the rated full load current of the motor. The magnetizing current is the current
that establishes the flux in the iron and is very necessary if the motor is going to
operate. The magnetizing current does not actually contribute to the actual work
output of the motor. It is catalyst that allows the motor to work properly. The
magnetizing current and the leakage reactance can be considered passenger
components of current that will not affect the power drawn by the motor, but will
contribute to the power dissipated in the supply and distribution system. Take for
example a motor with a current draw of 100Amps and a power factor of 0.75.
The resistive component of the current is 75 Amps and this is what the KWh
meter measures.
The higher current will result in an increase in the distribution losses of
(100 x 100) / (75 x 75) = 1.777 or a 78% increase in the supply losses.
13
CHAPTER 3
BLOCK DIAGRAMS AND DESCRIPTIONS
Fig 3.1: Overview of the block diagram for the microcontroller-based power
factor Corrector.
3.1VOLTAGE TRANSDUCER LV 25-P
Features
Closed loop (compensated) voltage transducer using the Hall effect
Insulated plastic case recognized according to UL 94-V0.
16
Principle of use
For voltage measurements, a current proportional to the measured voltage
must be passed through an external resistorR 1 which is selected by the user and
installed in series with the primary circuit of the transducer.
Advantages
Excellent accuracy
Very good linearity
Low thermal drift
Low response time
High bandwidth
High immunity to external interference
Low disturbance in common mode.
change faster and eliminating the false output transitions that may be caused due
to noise at the input of the op-amp.
Each set of contacts can be in one of two states: either "closed" meaning
the contacts are touching and electricity can flow between them, or "open",
meaning the contacts are separated and the switch is non-conducting. The
mechanism actuating the transition between these two states (open or closed) can
be either a "toggle" (flip switch for continuous "on" or "off") or "momentary"
(push-for "on" or push-for "off") type.
19
Some switches are used to isolate electric power from a system, providing
a visible point of isolation that can be padlocked if necessary to prevent
accidental operation of a machine during maintenance, or to prevent electric
shock.
SCR, anode is held at high positive potentialw.r.t. cathode and gate at small
positive potential w.r.t. cathode. Fig.3.5(ii) shows the symbol of SCR. The
silicon controlled rectifier is a solid state equivalent of thyratron. The gate, anode
and cathode of SCR correspond to the grid, plate and cathode of thyratron. For
this reason, SCR is sometimes called thyristor.
(ii) A.C. trigger circuit. An SCR can also be turned on with positive cycle of
a.c. gate current. Fig. 3.11 (ii) shows such a circuit.
(iii) During the positive half-cycle of the gate current, at some point IG= IGT,
the device is turned on as shown in Fig. 3.11 (i).
25
2. SCR turn-off methods. The SCR turn-off poses more problems than SCR turn-
on. It is because once the device is ON, the gate loses all control. There are many
methods of SCR turn-off butonly two will be discussed.
(i) Anode current interruption. When the anode current is reduced below a
minimum value called holding current, the SCR turns off. The simple way to
turn off the SCR is to open the line switchS as shown in Fig.3.11.
(iv) Forced commutation. The method of discharging a capacitor in parallel
with an SCR to turn off the SCR is called forced commutation. Fig. 3.12
shows the forced commutation of SCR where capacitor C performs the
commutation. Assuming the SCRs are switches with SCR1 ON andSCR2
OFF, current flows through the load and C as shown in Fig. 3.12.
(v) When SCR2 is triggered on,C is effectively paralleled across SCR1. The
charge on C is then opposite to SCR1’s forward voltage,SCR1 is thus
turned off and the current is transferred to R–SCR2 path.
3.4.6 Features and benefits of SCR power controllers over other forms of power
control include:
26
High reliability:
Because the SCR power controller is a solid-state device, there are no inherent
wear-out modes. Thus, they provide virtually limitless and trouble free
operation.
Infinite resolution:
Power, current or voltage can be controlled from zero to 100% with infinite
resolution. This capability allows extremely accurate, step less control of the
process.
Minimum Maintenance:
Because they are solid state there are no moving parts to wear out or replace.
27
CHAPTER4
MICROCONTROLLERS
4.1 HIGH-PERFORMANCE RISC CPU:
fi
g4.2: Architecture of pic18f452
4.6 CAPTURE/COMPARE/PWMMODULES
31
Both the CCP1 and CCP2 modules are identical in operation, with the
exception being the operation of the special event trigger. Table 8-1 and Table 8-
2 show the resources and interactions of the CCP module(s). Inthe following
sections, the operation of a CCP module described with respect to CCP1. CCP2
operates the same as CCP1 except where noted.
1010 = Compare mode, generate software interrupt on match (CCPxIF bit is set,
CCPx pin is unaffected)
1011 = Compare mode, trigger special event (CCPxIF bit is set, CCPx pin is
unaffected); CCP1resets TMR1; CCP2 resets TMR1 and starts an A/D
conversion (if A/D module is enabled)
11xx = PWM mode
CCP prescaler
There are four prescaler settings, specified by bitsCCP1M3:CCP1M0.
Whenever the CCP module is turned off, or the CCP module is not in Capture
mode,the prescaler counter is cleared. Any Reset will clear the prescaler counter.
Switching from one capture prescaler to another may generate an
interrupt. Also, the prescaler counter will not be cleared; therefore, the first
capture may be from a non-zero prescaler. Example 8-1 shows the
recommendedmethod for switching between capture prescalers. This example
also clears the prescaler counter and will not generate the “false” interrupt.
4.9 FEATURES
C compiler Optimized RISC architecture
Self-Programming
LIN USART
2 PWM 10 bit
3 External Interrupts
CHAPTER 5
38
CAPACITOR BANK
Frequency is standardized at constant 50 Hz, or 60 Hz;power factor
correction is veiled as a solution to such fixed network frequency, the only key
solution is by addition of capacitor in shunt to the load. Capacitors are
commonly used within a lot of power system, especially electronic constructed
circuitry. Though common it is consequently least understood by majority as one
most beneficial component for power system.
• Release of system capacity
• Reduction of kVAR generation requirements
• Reduction of system loss
• Regulation or improvement in voltage
These benefits require only small amount of investment and maintenance
compare to a lot of power system components. Budgeting expenses itself already
a solid reason for why capacitors are most welcome in many powersystem. In
three-phase power system, capacitors normally installed within an isolating non-
conductor metal box, which called capacitor bank; they are either fixed or
switched. Fixed banks are connected permanently to the primary conductors
through fused switches. Switched banks are tied to the primary system through
automated switches, allowing them to be put on line and taken offline as needed.
Distribution power system usually connects capacitor in parallel (shunt) rather
connecting 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 increment of inductive kVARs will increase as well, thus the demand
of capacitive kVARs to compensate is pretty much required in order to reduce
39
can approximately improve the power factor around 94% to 96%. Higher power
factor may only be acquired with switched capacitor banks. When using
switched capacitor to correct the power factor of a circuit, the switch control is
set to close the bank onto the line when the load KVARs equal two thirds of the
bank’s rated KVAR. This scheme is tend to reduce loss by driving the line
leading with first turn on before it is turn off, this is referred as the “two-thirds
rule.” Taking a daily load cycle, as shown in figure 5.2 Compare with fixed
capacitor bank, switching capacitor bank is generally more expensive thus it is
essential to take accounting of the cost of installation so that its time value worth
for the investment.
CHAPTER 6
SOFTWARE DEVELOPMENT ENVIRONMENT
43
co-simulation of complete microcontroller based designs. For the first time ever,
it is possible to develop and test such designs before a physical prototype is
constructed.
This is possible because you can interact with the design using on screen
indicators such as LED and LCD displays and actuators such as switches and
buttons. The simulation takes place in real time (or near enough to it): a 1GMHz
Pentium III can simulate a basic 8051 system clocking at over 12MHz. Proteus
VSM also provides extensive debugging facilities including breakpoints, single
stepping and variable display for both assembly code and high level language
source.
6.2.1Schematic Entry
Proteus VSM uses our proven Schematic Capture software to provide the
environment for design entry and development. ISIS is a long established
product and combines ease of use with powerful editing tools. It is capable of
supporting schematic capture for both simulation and PCB design. Designs
entered in to Proteus VSM for testing can be net listed for PCB layout either
with our own PCB Design products or with third party PCB layout tools. ISIS
also provides a very high degree of control over the drawing appearance, in
terms of line widths, fill styles, fonts, etc. These capabilities are used to the full
in providing the graphics necessary for circuit animation.
6.2.2Circuit Simulation
The most exciting and important feature of Proteus VSM is its ability to
simulate the interaction between software running on a microcontroller and any
analog or digital electronics connected to it.
The micro-controller model sits on the schematic along with the other
elements of your product design. It simulates the execution of your object code
(machine code), just like a real chip. If the program code writes to a port, the
logic levels in circuit change accordingly, and if the circuit changes the state of
the processor's pins, this will be seen by your program code, just as in real life.
The VSM CPU models fully simulate I/O ports, interrupts, timers,
USARTs and all other peripherals present on each supported processor. It is
anything but a simple software simulator since the interaction of all these
peripherals with the external circuit is fully modeled down to waveform level
and the entire system is therefore simulated.VSM can even simulate designs
47
Proteus VSM for PIC16 contains everything you need to develop, test and
virtually prototype your embedded system designs based around the Microchip
Technologies PIC16 series of microcontrollers. The unique nature of schematic
based microcontroller simulation with Proteus facilitates rapid, flexible and
parallel development of both the system hardware and the system firmware. This
design synergy allows engineers to evolve their projects more quickly,
empowering them with the flexibility to make hardware or firmware changes at
will and reducing the time to market.
CHAPTER 7
RESULTS
(+) U3(V+)
U3
TR2
7
1
+2.66
AC mA
3
6
2
+170 R2
100R
AC Volts
R1
4
5
LM741
1000R
L1
19H U4(V+)
TRAN-2P2S
U4
7
1
U1(V+) 3
6 LCD1
2 LM016L
4
5
LM741
U1
TR1 7
3 1
VDD
VSS
VEE
6
RW
RS
D0
D1
D2
D3
D4
D5
D6
D7
A
E
2
B RV1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
+5.36
4
5
AC Volts LM741 C
D
U2(V+)
TRAN-2P2S
1k
U2 U7:A U5
1 1 15
7
1
RE3/MCLR/VPP RC0/T1OSO/T1CKI
3 16
3 RC1/T1OSI/CCP2
2 2 17
6 RA0/AN0/ULPWU/C12IN0- RC2/P1A/CCP1
3 18
2 RA1/AN1/C12IN1- RC3/SCK/SCL
74HC86 4 23
RA2/AN2/VREF-/CVREF/C2IN+ RC4/SDI/SDA
5 24
RA3/AN3/VREF+/C1IN+ RC5/SDO
6 25
RA4/T0CKI/C1OUT RC6/TX/CK
4
5
LM741 7 26
RA5/AN4/SS/C2OUT RC7/RX/DT
14
RA6/OSC2/CLKOUT
13 19
RA7/OSC1/CLKIN RD0
20
RD1
33 21
RB0/AN12/INT RD2
34 22
RB1/AN10/C12IN3- RD3
35 27
RB2/AN8 RD4
36 28
RB3/AN9/PGM/C12IN2- RD5/P1B
37 29
RB4/AN11 RD6/P1C
38 30
RB5/AN13/T1G RD7/P1D
39
RB6/ICSPCLK
40 8
RB7/ICSPDAT RE0/AN5
9
RE1/AN6
10
RE2/AN7
PIC16F887
7
1
60u
C2
+0.96 R2 3
V1 AC Volts 0.4k 6
VSINE 2
50u
TRAN-2P2S
4
5
LM741
D1
L1 R1
5H 100R UF4002 C1
10u
B
U1(V+)
U7:A
TR1 1 C
U1
3 LCD1 D
LM741 2 LM016L
7
1
74HC86
+5.12 3
6
AC Volts
2
NAME=$IOSCILLOSCOPE
U2(RA1/AN1)
4
5
U6:A(VCC) V=1.12383
VDD
VSS
VEE
TRAN-2P2S
RW
RS
D0
D1
D2
D3
D4
D5
D6
D7
VCC U2
E
U6:A 13
OSC1/CLKI RC0/T1OSO/T1CKI
15
1
2
3
4
5
6
7
8
9
10
11
12
13
14
4 1 16
MCLR/VPP RC1/T1OSI/CCP2A
17
T73S5D15-5V RC2/CCP1
RL1 3 2
RA0/AN0 RC3/SCK/SCL
18
1 3 23
2
RL4 U5:B(VCC) RA1/AN1 RC4/SDI/SDA
4 24
RA2/AN2/VREF- RC5/SDO
V4 U5:B 5
RA3/AN3/VREF+ RC6/TX/CK
25 VCC
4 6 26
VSINE 11 RA4/T0CKI RC7/RX/DT
TS954ID 7
5 RA5/AN4/SS/LVDIN
14 19
7 U4 RA6/OSC2/CLKO RD0/PSP0
20
6 20 1 RD1/PSP1
33 21
T73S5D15-5V V3 19 2 34
RB0/INT0 RD2/PSP2
22
18 3 RB1/INT1 RD3/PSP3
35 27
11 17 4 RB2/INT2 RD4/PSP4
TS954ID 36 28
RL2 16 5 37
RB3/CCP2B RD5/PSP5
29
15 6 RB4 RD6/PSP6
38 30
VSINE 14 7 RB5/PGM RD7/PSP7
U5:A 39
V2 4 13 8 40
RB6/PGC
8
VSINE 12 9 RB7/PGD RE0/RD/AN5
9
11 10 RE1/WR/AN6
3 10
RE2/CS/AN7
1
2 LED-BARGRAPH-RED PIC18F452
T73S5D15-5V TS954ID
11
7
1
60u
C2
+0.96 R2 3
V1 AC Volts 0.4k 6
VSINE 2
50u
TRAN-2P2S
4
5
LM741
D1
L1 R1
5H 100R UF4002 C1
10u
B
U1(V+)
U7:A
TR1 1 C
U1
3 LCD1 D
LM741 2 LM016L
7
1
74HC86
+5.12 3
6
AC Volts
2
NAME=$IOSCILLOSCOPE
U2(RA1/AN1)
4
5
U6:A(VCC) V=1.1231
VDD
VSS
VEE
TRAN-2P2S
RW
RS
D0
D1
D2
D3
D4
D5
D6
D7
VCC U2
E
U6:A 13
OSC1/CLKI RC0/T1OSO/T1CKI
15
1
2
3
4
5
6
7
8
9
10
11
12
13
14
4 1 16
MCLR/VPP RC1/T1OSI/CCP2A
17
T73S5D15-5V RC2/CCP1
RL1 3 2
RA0/AN0 RC3/SCK/SCL
18
1 3 23
2
RL4 U5:B(VCC) RA1/AN1 RC4/SDI/SDA
4 24
RA2/AN2/VREF- RC5/SDO
V4 U5:B 5
RA3/AN3/VREF+ RC6/TX/CK
25 VCC
4 6 26
VSINE 11 RA4/T0CKI RC7/RX/DT
TS954ID 7
5 RA5/AN4/SS/LVDIN
14 19
7 U4 RA6/OSC2/CLKO RD0/PSP0
20
6 20 1 RD1/PSP1
33 21
T73S5D15-5V V3 19 2 34
RB0/INT0 RD2/PSP2
22
18 3 RB1/INT1 RD3/PSP3
35 27
11 17 4 RB2/INT2 RD4/PSP4
TS954ID 36 28
RL2 16 5 37
RB3/CCP2B RD5/PSP5
29
15 6 RB4 RD6/PSP6
38 30
VSINE 14 7 RB5/PGM RD7/PSP7
U5:A 39
V2 4 13 8 40
RB6/PGC
8
VSINE 12 9 RB7/PGD RE0/RD/AN5
9
11 10 RE1/WR/AN6
3 10
RE2/CS/AN7
1
2 LED-BARGRAPH-RED PIC18F452
T73S5D15-5V TS954ID
11
7
1
60u
C2
+1.83 R2 3
V1 AC Volts 0.4k 6
VSINE 2
50u
TRAN-2P2S
4
5
LM741
D1
L1 R1
5H 100R UF4002 C1
10u
B
U1(V+)
U7:A
TR1 1 C
U1
3 LCD1 D
LM741 2 LM016L
7
1
74HC86
+5.11 3
6
AC Volts
2
NAME=$IOSCILLOSCOPE
U2(RA1/AN1)
4
5
U6:A(VCC) V=2.10427
VDD
VSS
VEE
TRAN-2P2S
RW
RS
D0
D1
D2
D3
D4
D5
D6
D7
VCC U2
E
U6:A 13
OSC1/CLKI RC0/T1OSO/T1CKI
15
1
2
3
4
5
6
7
8
9
10
11
12
13
14
4 1 16
MCLR/VPP RC1/T1OSI/CCP2A
17
3 T73S5D15-5V RC2/CCP1
RL1 2
RA0/AN0 RC3/SCK/SCL
18
1
2
RL4 U5:B(VCC) 3
RA1/AN1 RC4/SDI/SDA
23
4 24
RA2/AN2/VREF- RC5/SDO
V4 U5:B 5
RA3/AN3/VREF+ RC6/TX/CK
25 VCC
4 6 26
VSINE 11 RA4/T0CKI RC7/RX/DT
TS954ID 7
5 RA5/AN4/SS/LVDIN
14 19
7 U4 RA6/OSC2/CLKO RD0/PSP0
20
6 20 1 RD1/PSP1
33 21
T73S5D15-5V V3 19 2 34
RB0/INT0 RD2/PSP2
22
18 3 RB1/INT1 RD3/PSP3
35 27
11 17 4 RB2/INT2 RD4/PSP4
TS954ID 36 28
RL2 16 5 37
RB3/CCP2B RD5/PSP5
29
15 6 RB4 RD6/PSP6
38 30
VSINE 14 7 RB5/PGM RD7/PSP7
U5:A 39
V2 4 13 8 40
RB6/PGC
8
VSINE 12 9 RB7/PGD RE0/RD/AN5
9
11 10 RE1/WR/AN6
3 10
RE2/CS/AN7
1
2 LED-BARGRAPH-RED PIC18F452
T73S5D15-5V TS954ID
11
COLOUR REPRESENTATION:
CHAPTER 8
CONCLUSION
A PIC microcontroller based power factor controller is capable of adding
capacitor banks across the load automatically when the power factor is lagging
and is capable of removing capacitor banks from 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.
56
REFERENCES