Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
ACKNOWLEDGEMENT
We are very thankful to our beloved guide Ms. Jyutika Nalawade, for her
valuable and patient guidance throughout our endeavor. We remember With Regards
and respect the assistance and encouragement given by her. We are very much
indebted to our beloved parents who have given this opportunity to join in this
course and are great source of encouragement for us. Above all, the GRACE OF
GOD of all creations led us to complete our project successfully.
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.
INDEX
1. INTRODUCTION .……………………………………………….
4
8. FUNCTIONALITY .…………………………………………….
49
CHAPTER 1
Introduction
Department of Electronics science, University of Pune (Sep’06-Feb’07) Page 4
of 72
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.
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.
CHAPTER 2
AIM:-
OBJECTIVE:-
CHAPTER 3
Project planning
PROJECT PLANNING
What is achieved?
• We designed hardware for voltage regulation by using SCR bridge
TIME SCHEDULING
CHAPTER 4
Block Diagram
BLOCK DIAGRAM
24V AC 230V AC
POWER
SUPPLY
ZERO SCR
CROSSING BRIDGE O/P
DETECTOR CKT
MICRO-
-CONTROLLER
CLOCK &
RESET
CKT
POTENTIAL
DIVIDER
ADC
CHAPTER 5
Block Diagram
Description
• 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 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.
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.
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.
CHAPTER 6
Components
Specification
COMPONENT SPECIFICATION
• POWER SUPPLY
SPECIFICATION OF IC LM7805:-
_ 3-Terminal Regulators
_ Output Current up to 1.5 A
_ Internal Thermal-Overload Protection
_ High Power-Dissipation Capability
_ Internal Short-Circuit Current Limiting
_ Output Transistor Safe-Area Compensation
Description information
This series of fixed-voltage integrated-circuit voltage regulators is designed
for a wide range of applications. These applications include on-card regulation for
elimination of noise and distribution problems associated with single-point
regulation. Each of these regulators can deliver up to 1.5 A of output current. The
Department of Electronics science, University of Pune (Sep’06-Feb’07) Page 20
of 72
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.33µF 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.1µF is connected at
output. It utilizes common ground fir input and output and has dropout voltage (Vin
– Vo) of 2 V.
78LXXAC 5 100Ma 3 to 5 10 5 62
(35) 12 3 to5 20 10 54
15 3.1 to 5 25 12 51
78LXXC 5 100mA 3 to 6 10 5 60
(35) 12 3 to 6.5 20 10 52
15 3.1 to 6.5 25 12 49
SPECIFICATION OF UA741(OP-AMP)
-Summing amplifier
- Voltage follower
- Integrator
- Active filter
- Function generator
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
• MICROCONTROLLER
FEATURES
BLOCK DIAGRAM
PIN DIAGRAM:-
PIN DESCRIPTION
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.
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.
Idle Mode
In the idle mode (see Table 2), the CPU puts itself to sleep while all of the
on-chip peripherals stay active. The instruction to invoke the idle mode is the last
instruction executed in the normal operating mode before the idle mode is
activated. The CPU contents, the on-chip RAM, and all of the special function
registers remain intact during this mode. The idle mode can be terminated either by
any enabled interrupt (at which time the process is picked up at the interrupt
service routine and continued), or by a hardware reset which starts the processor in
the same manner as a power-on reset.
Power-Down Mode
To save even more power, a Power Down mode (see Table 2) can be
invoked by software. In this mode, the oscillator is stopped and the instruction that
invoked Power Down is the last instruction executed. The on-chip RAM and Special
Function Registers retain their values down to 2.0 V and care must be taken to
return VCC to the minimum specified operating voltages before the Power down
Mode is terminated.
Either a hardware reset or external interrupt can be used to exit from Power
Down. Reset redefines all the SFRs but does not change the on-chip RAM. An
external interrupt allows both the SFRs and the on-chip RAM to retain their values.
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
SYMBOL
General Description
Features
Key Specifications
• Resolution 8 Bits
• Total Unadjusted Error g(/2 LSB and g1 LSB
• Single Supply 5 VDC
• Low Power 15 mW
• Conversion Time 100 ms.
BLOCK DIAGRAM
CONNETION DIAGRAM:-
CHAPTER 7
Circuit Diagram
CIRCIUT DIAGRAM
U9
26 17
27 IN 0 D B0 14
28 IN 1 D B1 15
1 IN 2 D B2 8
2 IN 3 D B3 18
3 IN 4 D B4 19 U3
4 IN 5 D B5 20
5 IN 6 D B6 21 39 21
IN 7 D B7 38 P 0 .0 /A D 0 P 2 .0 /A 8 22 R4
25 7 37 P 0 .1 /A D 1 P 2 .1 /A 9 23
24 ADDA EOC 36 P 0 .2 /A D 2 P 2 .2 /A 1 0 24
AD C 0808
23 ADDB 35 P 0 .3 /A D 3 P 2 .3 /A 1 1 25
ADDC 34 P 0 .4 /A D 4 P 2 .4 /A 1 2 26
R 4 + R 5 + R 6 = 59K
12 33 P 0 .5 /A D 5 P 2 .5 /A 1 3 27 R5
16 +VR EF 32 P 0 .6 /A D 6 P 2 .6 /A 1 4 28
-V R E F P 0 .7 /A D 7 P 2 .7 /A 1 5
10 1 10
C LK 2 P 1 .0 P 3 .0 /R XD 11
22 3 P 1 .1 P 3 .1 /T XD 12 Q1 Q2 R3 R6
89C51
D IO D E
1k
19 30
C7 18 XTA L1 A L E /P R O G 29
1 0 u fC 5 XTA L2 PSEN
30 pf 31
R1 9 E A /V P P
8 .2 k RST VCC
Y1
20 M H Z
C 6 30 pf
D 1 D IO D E
U 2 LM 7805
T1 24v DC
TRANSFORM ER CT
1 5 1 3
V IN VOUT VCC
1
6 D IO D E D2 +5V
240v ac
4 8 M C 7815C
2 1 3
10uf
D IO D E D 3 V IN V O U T +15v C4
0 .1 u f
D4 D IO D E C2
7
1
U6 R2 3 + U8
1 k 6
P 2 .5
10uf C5 2 -
2 3 -15v
V IN VOUT D6
U A741C
C3 D IO D E
4
5
L 7915 U7 1 k
0 .1 u f
R2
CHAPTER 8
Functionality
FUNCTIONALITY
• 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.
CHAPTER 9
Software Flow-
chart
Department of Electronics science, University of Pune (Sep’06-Feb’07) Page 58
of 72
A Project Report on Three Phase Voltage Regulation using SCR & Micro-Controller.
STAR
Set port P1 as
input port
R
Read output of
ADC
No
Is
ZCD=
Yes
Pulse width
delay
Read output
from ADC
Yes
Is
ZCD=
No
Pulse width
delay
Start
Activate
ALE
Activate
SOC
Monitor
EOC
Activate output
enable
End
Start
Set timer in
mode zero
Load timer
register
Start
timer
No
Is
TF=1
Yes
Stop
timer
Reset timer
flag
End
Start
End
Start
Set timer in
mode zero
Load timer
with ADC Val.
Start
timer
No
Is
TF=1
Yes
Stop
timer
Reset timer
flag
End
CHAPTER 10
Result &
Discussion
CHAPTER 11
Bibliography
BIBLIOGRAPHY
REFERENCE BOOKS:-
WEB SITES:-
• www.datasheets4u.com
• www.datasheetcatalog.com
• www.semiconductor.phillips.com
• www.alldatasheet.com