Professional Documents
Culture Documents
ACKNOWLEDGEMENT
A Project Report on Three Phase Voltage Regulation using SCR & Micro-Controller.
EXECUTIVE SUMMERY
In our day to day life we use a lot many devices to satisfy our needs or to make
our life comfortable and luxurious. Every device needs a power supply, to work on. And
for the optimum functioning of the device it is necessary that the supply should be
reliable. That is, it should provide a constant voltage.
But this is not possible always. There are many reasons due to which there is a
fluctuation in the supply voltage. This change in the supply voltage may cause the
device to damage or make it work in an undesired way, which no one would desire.
Hence the best alternative is to regulate the supply voltage. This is what we have
tried to achieve here. Our project is supply voltage regulation, using controller and SCR.
In our project we provide the load with a constant voltage of 240 V ac., in spite of
any variation in the input voltage. The voltage regulation is achieved by controlling the
firing angle of the SCR so precisely that the load receives a constant supply. The
voltage across the load is stepped down and provided to ADC. ADC will produce a
digital signal corresponding to the input analog signal. This digital signal from ADC is
then processed by the controller and generates a firing pulse for SCR, hence controlling
the load current.
A Project Report on Three Phase Voltage Regulation using SCR & Micro-Controller.
INDEX
1.
INTRODUCTION ..
4
2.
3.
PROJECT PLANNING ..
9
4.
5.
6.
COMPONENT SEPECIFICATIONS .. 18
7.
CIRCUIT DIAGRAM ..
47
8. FUNCTIONALITY .. 49
9.
A Project Report on Three Phase Voltage Regulation using SCR & Micro-Controller.
CHAPTER 1
Introduction
A Project Report on Three Phase Voltage Regulation using SCR & Micro-Controller.
INTRODUCTION
In our day to day life we use a lot many devices to satisfy our needs or to make
our life comfortable and luxurious. Every device needs a power supply, to work on. And
for the optimum functioning of the device it is necessary that the supply should be
reliable. That is, it should provide a constant voltage.
But this is not possible always. There are many reasons due to which there is a
fluctuation in the supply voltage. This change in the supply voltage may cause the
device to damage or make it work in an undesired way, which no one will desire.
Hence the best alternative is to regulate the supply voltage. This is what we have
tried to achieve here. Our project is supply voltage regulation, using controller and SCR.
Silicon Controlled Rectifiers also called Thyristors controller, employing novel
technology, which is designed to provide a price effective solution for applications that
require power, current or voltage regulation with some power factor correction and a
smother process control. Traditional phase-angle control causes lots of harmonic
current distortion on the main power supply. This in turn creates voltage distortion which
affects power quality. There is no simple accessory available for reducing this problem.
However, when simple voltage or current regulation is required often phase-angle
control is the most cost effective solution.
Thyristors and triacs are switched on by using a gate. They automatically switch
off again when the conducted current reaches zero.
A Project Report on Three Phase Voltage Regulation using SCR & Micro-Controller.
Therefore, these devices can be used in power regulators and by switching at a
predetermined position on the AC sine wave (the phase-angle) the effective voltage can
be reduced or increased. This can be used to regulate voltage or power to a load.
In our project we provide the load with a constant voltage of 240 V ac., in spite of
any variation in the input voltage. The voltage regulation is achieved by controlling the
firing angle of the SCR so precisely that the load receives a constant supply. The
voltage across the load is stepped down and provided to ADC. ADC will produce a
digital signal corresponding to the input analog signal. This digital signal from ADC is
then processed by the controller and generates a firing pulse for SCR, hence controlling
the load current.
A Project Report on Three Phase Voltage Regulation using SCR & Micro-Controller.
CHAPTER 2
A Project Report on Three Phase Voltage Regulation using SCR & Micro-Controller.
AIM:To develop a system for controlling fluctuation in the three phase Voltage supply
using SCR and Controller.
OBJECTIVE:To upgrade the existing three phase analog regulatory system, to a three phase,
microcontroller based SCR drive system. So that if any fluctuation comes in three phase
voltage supply, controller will Sense that fluctuation and accordingly give triggering
pulses to the SCR to get controlled regulated output at the load.
A Project Report on Three Phase Voltage Regulation using SCR & Micro-Controller.
CHAPTER 3
Project planning
A Project Report on Three Phase Voltage Regulation using SCR & Micro-Controller.
PROJECT PLANNING
What is achieved?
We designed hardware for voltage regulation by using SCR bridge
We sensed fluctuation in the single phase voltage supply.
We sensed zero crossing of the input sine wave.
We got correct firing angle of SCR for getting correct control voltage.
We calculated the correct delay time for giving trigger pulse to SCR.
A Project Report on Three Phase Voltage Regulation using SCR & Micro-Controller.
TIME SCHEDULING
S.NO
1
2
3
4
5
6
7
8
9
SCHEDULE
Understanding project details
Finalizing project modules
Data collection
Selection of Microcontroller and its peripherals
Component search
Circuit Design
Hardware assembly
Hardware testing and debugging
Software coding (for calculating correct delay for different
DAYS
2
3
7
4
11
5
7
7
2
10
angle)
Preparing look up table for different ADC values
11
12
13
A Project Report on Three Phase Voltage Regulation using SCR & Micro-Controller.
CHAPTER 4
Block Diagram
A Project Report on Three Phase Voltage Regulation using SCR & Micro-Controller.
BLOCK DIAGRAM
24V AC
POWER
SUPPLY
ZERO
CROSSING
DETECTOR
CLOCK &
RESET
CKT
230V AC
SCR
BRIDGE
CKT
MICRO-CONTROLLER
POTENTIAL
DIVIDER
O/P
A Project Report on Three Phase Voltage Regulation using SCR & Micro-Controller.
ADC
CHAPTER 5
A Project Report on Three Phase Voltage Regulation using SCR & Micro-Controller.
Block Diagram
Description
A Project Report on Three Phase Voltage Regulation using SCR & Micro-Controller.
POWER SUPPLY
This is the first block of our system. We have used a step-down centre tap
transformer, with the voltage rating of 240V ac as primary voltage and 24-0-24V
ac as the secondary voltage. The current rating of the transformer is 500mA.
The stepped-down ac signal is supplied to the rectifier & regulator. It consists of a
simple rectifier diode bridge network along with some filtering circuit, for
smoothing out the input signal. This filtered and rectified signal is then regulated
using a positive voltage regulator, to the desired value (say 5 V dc & 15 V dc)
and also negative voltage regulator to the desired value (say -15 V dc).For these
purpose; we are using three regulator chips.
LM7805 (+5V DC)
MC7815C (+15V DC)
L7915 (-15V DC)
The basic input requirement of the two regulators 7815 & 7915 is 23v dc. i.e. it
needs at lest this voltage to provide a constant +/-15V. This is why we have selected the
center-tap transformer of 24V dc. But the input voltage requirement of 7805 is just about
13v dc; hence we have reduced the voltage of the transformer to 13V through a resistor
in series.
The input of the regulator is provided with a filter capacitor of 10uF, 50v. and the
output with 0.01uf, forming a pie filter for better signal to noise ratio.
A Project Report on Three Phase Voltage Regulation using SCR & Micro-Controller.
The output of ZCD is given to the PORT pin 2.5 of the Microcontroller. Here ZCD
is used so that we can give trigger angle to the SCR at Correct time.
The op-amp in the ZCD is just a sine to square wave generator. It converts in the
input 24V ac signal to the square wave of 5 V and of the same frequency as that of the
sine wave. Op-amp UA 741 is provided with a dual supply, obtained from the positive
and negative regulators (+15V & -15V dc).
The output pin of the ZCD is provided with a rectifying diode which restricts the
negative signal from reaching the controller pin to avoid any damage to it.
This block consists of a pair of SCR & diodes. Input to the SCR Bridge circuit is
fluctuated Single phase voltage supply, which is given to anode of both the SCRs and
cathode of both the diodes. Cathode of both the SCRs and Anode of both the diodes
are provided to the load. We have assumed a resistive load of 10K ohm. From this load
resistor one voltage signal will go to the Potential divider for feedback purpose. This will
act as the input signal to the ADC.
The gate of the SCR is connected to the PORT2.0 and PORT2.1. A specific
triggering pulse is provided to the gate of the SCR of sufficient time delay so as to keep
the load voltage constant.
POTENTIAL DIVIDER
To get controlled output we need to give feedback signal from the SCR bridge
circuit to ADC. But here feed back signal is nearer of 240V. So, we required to step it
down to the +5V.
Because of this, here we have used potential divider network. From this potential
divider network we will get voltage signal around +5V. To obtain the voltage of 5V ac
from 240V ac we have used the network ratio of 59:1. The upper 59K resistor is fix while
the lower 1K is a pot of 10k. Then after this voltage signal is given to ADC0808.
A Project Report on Three Phase Voltage Regulation using SCR & Micro-Controller.
Here we get input from potential divider network which is around +5V. Then this
analog value is converted to digital data and is given to Microcontroller. ADC 0808 has
four channels but we need only one, hence we have selected channel 0 for input. The 8
bit digital output of ADC is provided to the port 1 of controller.
MICROCONTROLLER 89C51RD2
This block is the only decision making block, which decides whether any
fluctuation in the supply line has occurred or not. It continuously compares the signal
with the reference described in the software. If there is no change then SCR will be fired
by it at phase angle 0 deg. But if it finds some fluctuation, then it will generate the pulse
at a measured time delay to provide the firing angle of the SCR (through gate) such that
the fluctuations will be nullified, and the supply to the load remains unaffected, in-spite
the fluctuations.
A Project Report on Three Phase Voltage Regulation using SCR & Micro-Controller.
CHAPTER 6
Components
Specification
A Project Report on Three Phase Voltage Regulation using SCR & Micro-Controller.
COMPONENT SPECIFICATION
POWER SUPPLY
A Project Report on Three Phase Voltage Regulation using SCR & Micro-Controller.
The LM7805 series of three terminal regulators are available with several fixed
output voltages. The voltages available allow regulators to be used in logic systems,
instrumentations, Hi-Fi and other solid state electronics equipment without any external
feedback components.
These ICs are designed as fixed voltage regulator and with adequate heat
sinking can deliver output currents in excess of 1A.The input capacitor Ci=0.33F is
used, if regulator is located far from the power supply filter capacitor. It filters out the
effect of stray inductance of wire, ceramic or tantalum capacitor may be used. To
improve the transient response of regulator capacitor of 0.1F is connected at output. It
utilizes common ground fir input and output and has dropout voltage (Vin Vo) of 2 V.
Device type
with input
voltages
78XXC
(35)
Output
voltage
(V)
5
12
15
Output
current
Quiescent
Current
(mA)
8
Line
regulation
(mV)
25
60
75
Load
regulation
(mV)
50
120
150
Ripple
rejection
(dB)
80
72
70
78LXXAC
(35)
5
12
15
100Ma
3 to 5
3 to5
3.1 to 5
10
20
25
5
10
12
62
54
51
78LXXC
(35)
5
12
15
100mA
3 to 6
3 to 6.5
3.1 to 6.5
10
20
25
5
10
12
60
52
49
78MXX
(35)
5
12
15
0.5A
4 to 10
4 to 10
4 to 10
50
120
150
100
240
300
78
71
69
1A
A Project Report on Three Phase Voltage Regulation using SCR & Micro-Controller.
A Project Report on Three Phase Voltage Regulation using SCR & Micro-Controller.
A Project Report on Three Phase Voltage Regulation using SCR & Micro-Controller.
OUTPUT VOLTAGES OF -5; -6; -8; -12; -15; -18; -20; -24V
A Project Report on Three Phase Voltage Regulation using SCR & Micro-Controller.
A Project Report on Three Phase Voltage Regulation using SCR & Micro-Controller.
A Project Report on Three Phase Voltage Regulation using SCR & Micro-Controller.
A Project Report on Three Phase Voltage Regulation using SCR & Micro-Controller.
SPECIFICATION OF UA741(OP-AMP)
NO LATCH-UP
HIGH GAIN
SHORT-CIRCUIT PROTECTION
NO FREQUENCY COMPENSATION
A Project Report on Three Phase Voltage Regulation using SCR & Micro-Controller.
The high gain and wide range of operating voltages provide superior
performances in integrator, summing amplifier and general feedback applications. The
internal compensation network (6dB/octave) insures stability in closed loop circuits.
PIN CONNECTIONS
A Project Report on Three Phase Voltage Regulation using SCR & Micro-Controller.
A Project Report on Three Phase Voltage Regulation using SCR & Micro-Controller.
MICROCONTROLLER
Program memory that is both parallel programmable and serial In-System and InApplication Programmable. In-System Programming (ISP) allows the user to
download new code while the microcontroller sits in the application. InApplication Programming (IAP) means that the microcontroller fetches new
program code and reprograms itself while in the system. This allows for remote
programming over a modem link. A default serial loader (boot loader) program in
ROM allows serial In-System programming of the Flash memory via the UART
without the need for a loader in the Flash code. For In-Application Programming,
the user program erases and reprograms the Flash memory by use of standard
routines contained in ROM. This device executes one machine cycle in 6 clock
cycles, hence providing twice the speed of a conventional 80C51. An
OTPconfiguration bit lets the user select conventional 12 clock timing if desired.
This device is a Single-Chip 8-Bit Microcontroller manufactured in advanced
CMOS process and is a derivative of the 80C51 microcontroller family. The
instruction set is 100% compatible with the 80C51 instruction set. The device
also has four 8-bit I/O ports, three 16-bit timer/event counters, a multi-source,
four-priority-level, nested interrupt structure, an enhanced UART and on-chip
oscillator and timing circuits. The added features of the P89C51RB2/RC2/RD2
make it a powerful microcontroller for applications that require pulse width
modulation, high-speed I/O and up/down counting capabilities such as motor
control.
A Project Report on Three Phase Voltage Regulation using SCR & Micro-Controller.
FEATURES
On-chip Flash Program Memory with In-System Programming (ISP) and InApplication Programming (IAP) capability.
Boot ROM contains low level Flash programming routines for downloading via the
UART.
Can be programmed by the end-user application (IAP)
Speed up to 20 MHz with 6 clock cycles per machine cycle(40 MHz equivalent
performance); up to 33 MHz with 12 clocks per machine cycle
8 interrupt sources
A Project Report on Three Phase Voltage Regulation using SCR & Micro-Controller.
PWM
Capture/compare
BLOCK DIAGRAM
A Project Report on Three Phase Voltage Regulation using SCR & Micro-Controller.
PIN DIAGRAM:-
A Project Report on Three Phase Voltage Regulation using SCR & Micro-Controller.
PIN DESCRIPTION
A Project Report on Three Phase Voltage Regulation using SCR & Micro-Controller.
A Project Report on Three Phase Voltage Regulation using SCR & Micro-Controller.
OSCILLATOR CHARACTERISTICS
XTAL1 and XTAL2 are the input and output, respectively, of an inverting amplifier.
The pins can be configured for use as an on-chip oscillator. To drive the device from an
external clock source, XTAL1 should be driven while XTAL2 is left unconnected.
Minimum and maximum high and low times specified in the data sheet must be
observed.
This device is configured at the factory to operate using 6 clock periods per
machine cycle, referred to in this datasheet as 6 clock mode. (This yields performance
equivalent to twice that of standard 80C51 family devices). It may be optionally
configured on commercially-available EPROM programming equipment to operate at 12
clocks per machine cycle, referred to in this datasheet as 12 clock mode. Once 12
clock mode has been configured, it cannot be changed back to 6 clock mode.
RESET
A reset is accomplished by holding the RST pin high for at least two machine
cycles (12 oscillator periods in 6 clock mode, or 24 oscillator periods in 12 clock mode),
while the oscillator is running.
To ensure a good power-on reset, the RST pin must be high long enough to allow
the oscillator time to start up (normally a few milliseconds) plus two machine cycles.
A Project Report on Three Phase Voltage Regulation using SCR & Micro-Controller.
At power-on, the voltage on VCC and RST must come up at the same time for a
proper start-up. Ports 1, 2, and 3 will asynchronously be driven to their reset condition
when a voltage above VIH1 (min.) is applied to RESET. The value on the EA pin is
latched when RST is reasserted and has a further effect.
A Project Report on Three Phase Voltage Regulation using SCR & Micro-Controller.
To properly terminate Power Down, the reset or external interrupt should not be
executed before VCC is restored to its normal operating level and must be held active
long enough for the oscillator to restart and stabilize (normally less than 10 ms). With an
external interrupt, INT0 and INT1 must be enabled and configured as level-sensitive.
Holding the pin low restarts the oscillator but bringing the pin back high completes the
exit. Once the interrupt is serviced, the next instruction to be executed after RETI will be
the one following the instruction that put the device into Power Down.
SCR
SPECIFICATION OF MCR100
Introduction
PNPN devices designed for high volume, line-powered consumer applications such as
relay and lamp drivers, small motor controls, gate drivers for larger thyristors, and
sensing and detection circuits. Supplied in an inexpensive plastic TO-226AA package
which is readily adaptable for use in automatic insertion equipment.
Features
Sensitive Gate Allows Triggering by Microcontrollers and Other Logic Circuits
Blocking Voltage to 600 V
ON State Current Rating of 0.8 Amperes RMS at 80C
High Surge Current Capability 10 A
Minimum and Maximum Values of IGT, VGT and IH Specified for Ease of
Design
Immunity to dV/dt 20 V/sec Minimum at 110C
Glass-Passivated Surface for Reliability and Uniformity
A Project Report on Three Phase Voltage Regulation using SCR & Micro-Controller.
SYMBOL
A Project Report on Three Phase Voltage Regulation using SCR & Micro-Controller.
A Project Report on Three Phase Voltage Regulation using SCR & Micro-Controller.
A Project Report on Three Phase Voltage Regulation using SCR & Micro-Controller.
Features
A Project Report on Three Phase Voltage Regulation using SCR & Micro-Controller.
Key Specifications
Resolution 8 Bits
Low Power 15 mW
A Project Report on Three Phase Voltage Regulation using SCR & Micro-Controller.
BLOCK DIAGRAM
A Project Report on Three Phase Voltage Regulation using SCR & Micro-Controller.
A Project Report on Three Phase Voltage Regulation using SCR & Micro-Controller.
A Project Report on Three Phase Voltage Regulation using SCR & Micro-Controller.
CONNETION DIAGRAM:-
A Project Report on Three Phase Voltage Regulation using SCR & Micro-Controller.
CHAPTER 7
Circuit Diagram
A Project Report on Three Phase Voltage Regulation using SCR & Micro-Controller.
CIRCIUT DIAGRAM
A Project Report on Three Phase Voltage Regulation using SCR & Micro-Controller.
U9
1
2
3
4
5
6
7
8
C LK
ALE
OE
STAR T
VCC
C7
1 0 u fC 5
R1
8 .2 k
19
18
30 pf
31
9
Y1
P 1 .0
P 1 .1
P 1 .2
P 1 .3
P 1 .4
P 1 .5
P 1 .6
P 1 .7
XTA L1
XTA L2
P 2 .0 /A 8
P 2 .1 /A 9
P 2 .2 /A 1 0
P 2 .3 /A 1 1
P 2 .4 /A 1 2
P 2 .5 /A 1 3
P 2 .6 /A 1 4
P 2 .7 /A 1 5
P 3 .0 /R XD
P 3 .1 /T XD
P 3 .2 /IN T 0
P 3 .3 /IN T 1
P 3 .4 /T 0
P 3 .5 /T 1
P 3 .6 /W R
P 3 .7 /R D
A L E /P R O G
PSEN
21
22
23
24
25
26
27
28
R4
R5
10
11
12
13
14
15
16
17
Q1
SCR
Q2
SCR
D7
D8
30
29
C 6 30 pf
6
4
D IO D E
D2
8
D IO D E D 3
D4
V IN
D IO D E
C2
10uf
C5
VCC
M C 7815C
V IN
3
V O U T +15v
U6
2
VOUT
+5V
V IN
L 7915
R2
VOUT
U7
C4
3 +
1 k
2 -
3 -15v
C3
R2
U8
1 k
U A741C
7
1
240v ac
U 2 LM 7805
24v DC
4
5
T1
R6
10k
R7
1k
E A /V P P
RST
VCC
D 1 D IO D E
R3
P 2 .5
D6
D IO D E
R 4 + R 5 + R 6 = 59K
+VR EF
-V R E F
0
1
2
3
4
5
6
7
D IO D E
P 0 .0 /A D
P 0 .1 /A D
P 0 .2 /A D
P 0 .3 /A D
P 0 .4 /A D
P 0 .5 /A D
P 0 .6 /A D
P 0 .7 /A D
D IO D E
39
38
37
36
35
34
33
32
0 .1 u f
11
U3
0 .1 u f
VCC
EOC
17
14
15
8
18
19
20
21
89C51
22
9
6
ADDA
ADDB
ADDC
B0
B1
B2
B3
B4
B5
B6
B7
10uf
10
D
D
D
D
D
D
D
D
20 M H Z
12
16
0
1
2
3
4
5
6
7
AD C 0808
25
24
23
IN
IN
IN
IN
IN
IN
IN
IN
TRANSFORM ER CT
26
27
28
1
2
3
4
5
A Project Report on Three Phase Voltage Regulation using SCR & Micro-Controller.
CHAPTER 8
Functionality
FUNCTIONALITY
A Project Report on Three Phase Voltage Regulation using SCR & Micro-Controller.
Here, in our project we are controlling the single phase supply voltage 240V ac
by triggering the SCR from Microcontroller.
Main purpose of our project is to get constant 240 V dc at load. To fulfill this task
we have to control the firing angle of SCR trigger pulse. And for control purpose
we have used Philips 89C52RD2 Microcontroller.
Main parts of our circuits are SCR bridge circuit, Power supply, Zero crossing
detector, Potential divider.
The input to the SCR bridge circuit is 240V ac. From this circuit we get output
which will initially be fluctuating so for controlling purpose we will take a feedback
signal from output.
Now, we have to give this feedback signal to Analog to Digital converter but here
the feedback signal is of around 240V dc. When ADC 0808 can operates up to
+5 V dc. It will be damaged if we apply 240V dc to it. So for that we must have to
use some kind of step down circuitry. Here we have used Potential divider
circuitry. By the use of Potential divider we will step it down to around +5V dc
signal. Now it is safe to apply that signal to ADC 0808.
Here input to the ADC 0808 is analog signal which will be converting to the digital
signal. And that digital signal will be fed to the Microcontroller.
Microcontroller is the main decision making block of our project which is used to
control the firing angle of SCR. Digital signal which we get from the ADC 0808 is
then compared to the values which are stored in look table. And according to that
look table controller will take required value of firing angle. As per firing angle
controller will calculate the delay and according that delay Controller will give
triggering pulses to the gate of the SCR. So that we get controlled output.
But controller must have to give the triggering pulses at correct time means it
must have be synchronization with input signal. For that purpose we have used
zero crossing detector. So that when input analog signal will cross zero voltage
level, then only controller will give trigger pulse to the SCR.
A Project Report on Three Phase Voltage Regulation using SCR & Micro-Controller.
CHAPTER 9
Software Flowchart
A Project Report on Three Phase Voltage Regulation using SCR & Micro-Controller.
START
Set port P1 as
input port
R
Read output of
ADC
No
Is
ZCD=
1
Yes
Pulse width
delay
A Project Report on Three Phase Voltage Regulation using SCR & Micro-Controller.
A
Read output
from ADC
Yes
Is
ZCD=
1
No
Pulse width
delay
A Project Report on Three Phase Voltage Regulation using SCR & Micro-Controller.
Read output of ADC:
Start
Activate
ALE
Activate
SOC
Monitor
EOC
Activate output
enable
End
A Project Report on Three Phase Voltage Regulation using SCR & Micro-Controller.
Pulse width Calculation:
Start
Set timer in
mode zero
Load timer
register
Start
timer
No
Is
TF=1
Yes
Stop
timer
Reset timer
flag
End
A Project Report on Three Phase Voltage Regulation using SCR & Micro-Controller.
Delay calculation for firing pulse:
Start
End
A Project Report on Three Phase Voltage Regulation using SCR & Micro-Controller.
Delay for firing:
Start
Set timer in
mode zero
Load timer
with ADC Val.
Start
timer
No
Is
TF=1
Yes
Stop
timer
Reset timer
flag
End
A Project Report on Three Phase Voltage Regulation using SCR & Micro-Controller.
CHAPTER 10
Result &
Discussion
A Project Report on Three Phase Voltage Regulation using SCR & Micro-Controller.
A Project Report on Three Phase Voltage Regulation using SCR & Micro-Controller.
CHAPTER 11
Bibliography
A Project Report on Three Phase Voltage Regulation using SCR & Micro-Controller.
BIBLIOGRAPHY
REFERENCE BOOKS:
WEB SITES:
www.datasheets4u.com
www.datasheetcatalog.com
www.semiconductor.phillips.com
www.alldatasheet.com