Professional Documents
Culture Documents
INTRODUCTION
2. THEOREY & DESIGN PRINCIPLE
3. CIRCUIT DESCRIPTION
A. POWER SUPPLY
B. ZCD (OPTO ISOLATOR)
C. MOTHER BOARD
D. RC. DIFFERENTIATOR
E. MONOSHOT
F. RELAY DRIVER
G. LED INDICATOR
H. ADC
4. FUTURE EXPANSION
5. CONCLUSION
1. Introduction
In the present scenario of technological revolution it has been observed that the
loading, the Inductive loads affect the power factor so the power system loss its
efficiency. There are certain organizations developing products and caring R&D
work on this field to improve or compensate the power factor. In the present
trend the designs are also moving forwards the miniature architecture; this can
thinking about any programmable devices then the embedded technology comes
into fore front. The embedded is now a day very much popular and most the
electrical engineering and its applications are the oldest streams of Engg. In the
present scenario all the electrical protection systems are based on electro
mechanical devices. Though these systems are quit reliable and cheaper. It has
certain disadvantages. The electro mechanical protection relays are too bulky
applied to all the fields. The pioneer manufactures of Power system and
technology. The protection and conditioning devices may be of any kind but they
devices are very much required in the modern age instrumentation and control.
Now a days the devices and developed with Rs485 compatible and also multiple
The Automatic Power factor Correction device is a very useful device for
inductive load, then the power factor lags, when the power factor goes below
0.97(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 correction device reads the power factor from line voltage and line current,
reduces extra hard wares such as timers and connectors etc. The controller is
embedded with all the components. The controller is the heart of the device and
there are other hardware used for signal conditions and comparison.
2. THEORY & DESIGN PRINCIPLE
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
useful work output and more particularly is a good indicator of the effect of the
All current will causes losses in the supply and distribution system. A load with a
power factor of 1.0 results 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
Poor load current phase angle is generally the result of an inductive load such as
furnace.
A distorted current waveform can be the result of a rectifier, variable speed drive,
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
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
thereby reduce the losses in the supply. There should be no effect on the
An induction motor draws current from the supply, that is made up of resistive
1) Load current.
2) Loss current.
3) Leakage reactance.
4) Magnetizing current.
The current due to the leakage reactance is dependant 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 the catalyst that allows the motor to work properly. The
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 100 Amps 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.
In the interest of reducing the losses in the distribution system, power factor
motor. Typically, the corrected power factor will be 0.92 - 0.95 Some power
retailers offer incentives for operating with a power factor of better than 0.9, while
others penalize consumers with a poor power factor. There are many ways that
this is metered, but the net result is that in order to reduce wasted energy in the
correction.
with the connected motor circuits and can be applied at the starter, or applied at
current and is used to cancel the lagging inductive current flowing from the
supply.
Capacitors connected at each starter and controlled by each starter is known as
board and controlled independently from the individual starters is known as "Bulk
Correction".
Bulk Correction.
The Power factor of the total current supplied to the distribution board is
maintain a power factor better than a preset limit. (Typically 0.95) Ideally, the
motor by connecting the correction capacitors to the motor starters. With static
correction, it is important that the capacitive current is less than the inductive
parallel with the motor windings. When the motor is Off Line, the capacitors are
also Off Line. When the motor is connected to the supply, the capacitors are also
connected providing correction at all times that the motor is connected to the
supply. This removes the requirement for any expensive power factor monitoring
and control equipment. In this situation, the capacitors remain connected to the
motor terminals as the motor slows down. An induction motor, while connected to
the supply, is driven by a rotating magnetic field in the stator which induces
current into the rotor. When the motor is disconnected from the supply, there is
for a period of time, a magnetic field associated with the rotor. As the motor
to it's speed. The capacitors connected across the motor terminals, form a
resonant circuit with the motor inductance. If the motor is critically corrected,
(corrected to a power factor of 1.0) the inductive reactance equals the capacitive
reactance at the line frequency and therefore the resonant frequency is equal to
the line frequency. If the motor is over corrected, the resonant frequency will be
below the line frequency. If the frequency of the voltage generated by the
motor, there will be high currents and voltages around the motor/capacitor circuit.
This can result in severe damage to the capacitors and motor. It is imperative
that motors are never over corrected or critically corrected when static correction
is employed.
Static power factor correction should provide capacitive current equal to 80% of
the magnetizing current, which is essentially the open shaft current of the motor.
The magnetizing current for induction motors can vary considerably. Typically,
magnetizing currents for large two pole machines can be as low as 20% of the
rated current of the motor while smaller low speed motors can have a
magnetizing current as high as 60% of the rated full load current of the motor. It
is not practical to use a "Standard table" for the correction of induction motors
shaft current can not be measured, and the magnetizing current is not quoted, an
approximate level for the maximum correction that can be applied can be
calculated from the half load characteristics of the motor. It is dangerous to base
correction on the full load characteristics of the motor as in some cases, motors
can exhibit a high leakage reactance and correction to 0.95 at full load will result
motor and the capacitors. It is better practice to use two contactors, one for the
motor and one for the capacitors. Where one contactor is employed, it should be
up sized for the capacitive load. The use of a second contactor eliminates the
Static Power factor correction must not be used when the motor is controlled by a
inverter can cause serious damage to the inverter and the capacitors due to the
The current drawn from the inverter has a poor power factor, particularly at low
load, but the motor current is isolated from the supply by the inverter. The phase
angle of the current drawn by the inverter from the supply is close to zero
resulting in very low inductive current irrespective of what the motor is doing. The
inverter does not however, operate with a good power factor. Many inverter
manufacturers quote a cos Ø of better than 0.95 and this is generally true,
however the current is non sinusoidal and the resultant harmonics cause a power
factor (KW/KVA) of closer to 0.7 depending on the input design of the inverter.
Inverters with input reactors and DC bus reactors will exhibit a higher true power
The connection of capacitors close to the input of the inverter can also result in
resulting in higher voltage impulses applied to the input circuits of the inverter,
and the energy behind the impulses is much greater due to the energy storage of
away from inverter inputs to elevate the impedance between the inverter and
Switching capacitors, Automatic bank correction etc, will cause voltage transients
and these transients can damage the input circuits of inverters. The energy is
Static Power Factor correction capacitors must not be connected to the output of
a solid state soft starter. When a solid state soft starter is used, the capacitors
must be controlled by a separate contactor, and switched in when the soft starter
output voltage has reached line voltage. Many soft starters provide a "top of
ramp" or "bypass contactor control" which can be used to control the power
The connection of capacitors close to the input of the soft starter can also result
in damage to the soft starter if an isolation contactor is not used. The capacitors
tend to cause transients to be amplified, resulting in higher voltage impulses
applied to the SCRs of the Soft Starter, and the energy behind the impulses is
much greater due to the energy storage of the capacitors. It is recommended that
capacitors should be at least 50 Meters away from Soft starters to elevate the
impedance between the inverter and capacitors and reduce the potential damage
caused.
Switching capacitors, Automatic bank correction etc, will cause voltage transients
and these transients can damage the SCRs of Soft Starters if they are in the Off
Static Power factor correction must neutralize no more than 80% of the
magnetizing current of the motor. If the correction is too high, there is a high
probability of over correction which can result in equipment failure with severe
magnetizing current is almost always higher than 20% of the rated full load
current of the motor, but can be as high as 60% of the rated current of the motor.
Most power factor correction is too light due to the selection based on tables
which have been published by a number of sources. These tables assume the
lowest magnetizing current and quote capacitors for this current. In practice, this
can mean that the correction is often less than half the value that it should be,
Power factor correction must be correctly selected based on the actual motor
being corrected. The Busbar software provides two methods of calculating the
correct value of KVAR correction to apply to a motor. The first method requires
the magnetizing current of the motor. Where this figure is available, then this is
the preferred method. Where the magnetizing current is not available, the second
method is employed and is based on the half load power factor and efficiency of
that motor. These figures are available from the motor data sheets.
Forexample:
tables, the correction applied would be 37KVAR. From the calculations, this
would require a correction of 68.7 KVAR
Motor B is a 375KW 2 pole motor with a half load efficiency of 93.9% and a half
KVAR while the calculations reveal that the correction should be 81.3KVAR
Busbar.exe is a shareware program which means that you can try it before you
buy it. You can freely distribute copies to anyone you please, but if you find it to
be useful, as I'm sure you will, then you must purchase it at $NZ35.00 Registered
copies of Busbar will be eligible for continued updates, and registered users will
characteristics for any given motor, either the magnetizing current and supply
voltage (method 1) or half load efficiency and half load power factor (method 2),
or, as a last resort, table values can be used. These will almost always result in
under correction.
Supply Harmonics.
Harmonics on the supply cause a higher current to flow in the capacitors. This is
because the impedance of the capacitors goes down as the frequency goes up.
This increase in current flow through the capacitor will result in additional heating
of the capacitor and reduce it's life. The harmonics are caused bu many non
linear loads, the most common in the industrial market today, are the variable
speed controllers and switch mode power supplies. Harmonic voltages can be
reduced by the use of a harmonic compensator, which is essentially a large
inverter that cancells out the harmonics. This is an expensive option. Passive
harmonic filters comprising resistors, inductors and capacitors can also be used
the power factor correction capacitors. These reactors are designed to make the
would be designed to create a resonant circuit with the capacitors above the third
Adding the inductance in series with the cpacitors will reduce their effective
will reduce the 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 fundemental frequency. Detuning reactors will also reduce the
chance of the tuned circuit formed by the capacitors and the inductive supply
Supply Resonance.
between the supply and the capacitors. If the fault current of the supply is very
high, the effect of the resonance will be minimal, however in a rural installation
where the supply is very inductive and can be a high impedance, the resonance
can be very severe resulting in major damage to plant and equipment. Voltage
surges and transients of several times the supply voltage are not uncommon in
rural areas with weak supplies, especially when the load on the supply is low. As
with any resonant system, a transient or sudden change in current will result in
the resonant circuit ringing, generating a high voltage. The magnitude of the
voltage is dependant on the 'Q' of the circuit which in turn is a function of the
circuit loading. One of the problems with supply resonance is that the 'reaction' is
often well remove from the 'stimulus' unlike a pure voltage drop problem due to
an overloaded supply. This makes fault finding very difficult and often damaging
surges and transients on the supply are treated as 'just one of those things'.
To minimize supply resonance problems, there are a few steps that can be
1) Minimize the amount of power factor correction, particularly when the load is
light. The power factor correction minimizes losses in the supply. When the
associated with generator plants and alternative supply switching, and with some
3) Switch capacitors on to the supply in lots of small steps rather than a few large
steps.
4) Switch capacitors on o the supply after the load has been applied and switch
these harmonic currents are insignificant relative to the total load current drawn,
harmonics. If the total harmonic current is large enough, there will be a resultant
distortion of the supply waveform which can interfere with the correct operation of
the supply.
Power factor correction for distorted supplies can not be achieved by the addition
electronic power factor correction inverters which restore the waveform back to
its undistorted state. This is a specialist area requiring either major design
Circuit connection: - In this we are using Transformer (0-12) VAC, 1A, IC 7805
and the secondary of the transformer is given to the bridge rectification diode.
The o/p of the diode is given as i/p to the IC regulator (7805 &7812) through
capacitor (1000mf/35v). The o/p of the IC regulator is given to the LED through
resistors.
transformer, due to the magnetic effect of the coil magnetic flux is induced in the
coil(primary) and transfer to the secondary coil of the transformer due to the
transformer electrical energy from one coil to another without changing its
frequency”. Here the diodes are connected in a bridge fashion. The secondary
coil of the transformer is given to the bridge circuit for rectification purposes.
During the +ve cycle of the ac signal the diodes D2 & D4 conduct due to
the forward bias of the diodes and diodes D1 & D3 does not conduct due to the
reversed bias of the diodes. Similarly during the –ve cycle of the ac signal the
diodes D1 & D3 conduct due to the forward bias of the diodes and the diodes D2
& D4 does not conduct due to reversed bias of the diodes. The output of the
overcome this effect, a capacitor is connected to the o/p of the diodes (D2 & D3).
Which removes the unwanted ac signal and thus a pure dc is obtained. Here we
need a fixed voltage, that’s for we are using IC regulators (7805 & 7812).”Voltage
load current.” This IC’s are designed as fixed voltage regulators and with
adequate heat sinking can deliver output current in excess of 1A. The o/p of the
bridge rectifier is given as input to the IC regulator through capacitor with respect
to GND and thus a fixed o/p is obtained. The o/p of the IC regulator (7805 &
7812) is given to the LED for indication purpose through resistor. Due to the
forward bias of the LED, the LED glows ON state, and the o/p are obtained from
220, TO-220FP, TO-3, D2PAK and DPAK packages and several fixed output
with single point regulation. Each type employs internal current limiting, thermal
adequate heat sinking is provided, they can deliver over 1 A output current.
0 - 1 2 / 1 A
L E D
7 8 1 2 + 1 2 V
230V 50H z
2 . 2 K
1 0 0 0 u F /3 5 V
L E D
I N 4 0 0 7 * 4
P O W E R S U P P L Y
B. ZERO CROSSING DETECTOR:
Here the op-amp is used as a comparator; a comparator is a ckt, which compares a signal
voltage applied at one input of an op-amp with a known reference voltage at the other
input. Here we have used 741 op-amp is used as a copmarator; the primary limitation is
the slew rate. Since 741 has slew rate equal to 0.5V/us, it takes 2* 13/0.5= 50uS to swing
from one saturation level to the other. The output from the secondary of the transformer
which is a sinusoidal (AC) signal of 50Hz is given as input to the op-amp i.e., to the non-
inverting terminal through a 2.2k limiting resistor and the inverting terminal is
grounded(Vref) . Thus the sine wave is converted to square whose output is swings from
+Vsat to –Vsat. Similarly the output signal is given to the opto-isolator as input.
ZERO CROSS DETECTOR
VC C =+12V
2 .2 K
4
2
-
V-
12 V L M 7 4 1O U T 6
1 5
3
+
230V D 1N 41 48
V+
50Hz 4 8
7
0V
VC C = -1 2 V
OPTO-ISOLATOR
VC C =+5V
10k
1 k 470E
U 2
B C 547 D 1N 41 48
1 3 .3 V
5 0 .1 u F
2 4
M C T2 1k
10k
C. MOTHER BOARD:
The motherboard of this project is designed with a MSC –51 core
Introduction
Despite it’s relatively old age, the 89C51 is one of the most popular
Micro controller.
Many web pages, books, and tools are available for the 89C51
developer.
The memory types are illustrated in the following graphic. They are:
Code Memory
Code memory is the memory that holds the actual 8051 program that
and sizes: Code memory may be found on-chip, either burned into the
reduced to 4k, 8k, or 16k. This varies depending on the version of the
chip that is being used. Each version offers specific capabilities and
ways to get around this limit when used with specially wired hardware.
limited to 64K.
External RAM
While Internal RAM is limited to 128 bytes (256 bytes with an 8052),
tricks. You may have to do this "by hand" since many compilers and
not support more than 64k of RAM. This is rather strange since it has
been my experience that programs can usually fit in 64k but often
RAM is what is lacking. Thus if you need more than 64k of RAM, check
to see if your compiler supports it-- but if it doesn't, be prepared to do
it by hand.
On-Chip Memory
two types: Internal RAM and Special Function Register (SFR) memory.
the fastest RAM available, and it is also the most flexible in terms of
reading, writing, and modifying it’s contents. Internal RAM is volatile,
map. The first 8 bytes (00h - 07h) are "register bank 0". By
Bit Memory also lives and is part of internal RAM. We'll talk more
about bit memory very shortly, but for now just keep in mind that bit
2Fh.
map, the area reserved for the stack is only 80 bytes--and usually it is
less since this 80 bytes has to be shared between the stack and user
variables.
SFR Descriptions
There are different special function registers (SFR) designed in side the
89C51 micro controller. In this micro controller all the input , output
SFRs found in the above SFR chart map. It is not the intention of this
port 0. Each bit of this SFR corresponds to one of the pins on the
P0.7. Writing a value of 1 to a bit of this SFR will send a high level on
level.
Programming Tip: While the 8051 has four I/O port (P0, P1, P2, and
you are using external RAM chips) you may not use P0 or P2. This is
because the 8051 uses ports P0 and P2 to address the external
memory. Thus if you are using external RAM or code memory you may
from the stack will be read from in Internal RAM. If you push a value
onto the stack, the value will be written to the address of SP + 1. That
is to say, if SP holds the value 07h, a PUSH instruction will push the
value onto the stack at address 08h. This SFR is modified by all
instructions which modify the stack, such as PUSH, POP, LCALL, RET,
means the stack will start at 08h and start expanding upward in
user bit variables occupy internal RAM from addresses 08h through
value if you will be using the alternate register banks and/or bit
instruction of every one of your programs unless you are 100% sure
you will not be using the register banks and bit variables.
DPL/DPH (Data Pointer Low/High, Addresses 82h/83h): The
SFRs DPL and DPH work together to represent a 16-bit value called the
16-bit value. In reality, you almost always have to deal with DPTR one
byte at a time. For example, to push DPTR onto the stack you must
first push DPL and then DPH. You can't simply plush DPTR onto the
you execute this instruction, the two bytes are operated upon as a 16-
you wish to decrement the value of DPTR, you must write your own
code to do so.
modes of the 8051 allow the 8051 to go into a type of "sleep" mode,
Timer Control SFR is used to configure and modify the way in which
the 8051's two timers operate. This SFR controls whether each of the
are located in the TCON SFR. These bits are used to configure the way
in which the external interrupts are activated and also contain the
external interrupt flags which are set when an external interrupt has
occurred.
TMOD (Timer Mode, Addresses 89h): The Timer Mode SFR is used
this SFR your program may configure each timer to be a 16-bit timer,
external pin.
timers always count up. What is configurable is how and when they
increment in value.
TL1/TH1 (Timer 1 Low/High, Addresses 8Bh/8Dh): These two
timers always count up. What is configurable is how and when they
increment in value.
port 1. Each bit of this SFR corresponds to one of the pins on the
P1.7. Writing a value of 1 to a bit of this SFR will send a high level on
level.
Serial Control SFR is used to configure the behavior of the 8051's on-
board serial port. This SFR controls the baud rate of the serial port,
whether the serial port is activated to receive data, and also contains
TMOD. This is because SCON controls the serial port. However, in most
cases the program will wish to use one of the timers to establish the
serial port's baud rate. In this case, it is necessary to configure timer 1
used to send and receive data via the on-board serial port. Any value
written to SBUF will be sent out the serial port's TXD pin. Likewise, any
value which the 8051 receives via the serial port's RXD pin will be
delivered to the user program via SBUF. In other words, SBUF serves
as the output port when written to and as an input port when read
from.
port 2. Each bit of this SFR corresponds to one of the pins on the
P2.7. Writing a value of 1 to a bit of this SFR will send a high level on
level.
Programming Tip: While the 8051 has four I/O port (P0, P1, P2, and
you are using external RAM chips) you may not use P0 or P2. This is
used to enable and disable specific interrupts. The low 7 bits of the
highest bit is used to enable or disable ALL interrupts. Thus, if the high
port 3. Each bit of this SFR corresponds to one of the pins on the Micro
controller. For example, bit 0 of port 3 is pin P3.0, bit 7 is pin P3.7.
Writing a value of 1 to a bit of this SFR will send a high level on the
MICROCONTROLLER
39 21
38 P 0 .0 /A D 0 P 2 .0 /A 8 22
37 P 0 .1 /A D 1 P 2 .1 /A 9 23
36 P 0 .2 /A D 2 P 2 .2 /A 1 0 24
35 P 0 .3 /A D 3 P 2 .3 /A 1 1 25
34 P 0 .4 /A D 4 P 2 .4 /A 1 2 26
33 P 0 .5 /A D 5 P 2 .5 /A 1 3 27
32 P 0 .6 /A D 6 P 2 .6 /A 1 4 28
P 0 .7 /A D 7 P 2 .7 /A 1 5
1 10
2 P 1 .0 P 3 .0 /R X D 11
3 P 1 .1 P 3 .1 / T X D 12
4 P 1 .2 P 3 . 2 /I N T 0 13
5 P 1 .3 P 3 . 3 /I N T 1 14
6 P 1 .4 P 3 .4 /T 0 15
7 P 1 .5 P 3 .5 /T 1 16
8 P 1 .6 P 3 .6 /W R 17
22pF P 1 .7 P 3 .7 /R D
19 30
18 X TA L1 A L E /P R O G 29
4 - 12Mhz X TA L2 P S E N
31
9 E A /V P P
RS T
22pF VC C =+5vdc
A T 89C 51
10uF
R ST
8 .2 k
8k2 resister the R-C junction is connected to the micro controller pin –
9 which is reset pin. The reset pin is one when ever kept high( logic 1)
starts executing the programme. from that location. When ever the
system is switched ON the mother board gets power and the capacitor
acts as short circuit and the entire voltage appears across the resistor,
so the reset pin get a logic 1 and the system get reset, whenever it is
Pull-UP Resisters:
VC C =+5V
10k
39 21
38 P 0 .0 /A D 0 P 2 .0 /A 8 22
37 P 0 .1 /A D 1 P 2 .1 /A 9 23
36 P 0 .2 /A D 2 P 2 .2 / A 1 0 24
35 P 0 .3 /A D 3 P 2 .3 / A 1 1 25
PORT-0 34 P
P
0 .4 /A
0 .5 /A
D
D
4
5
P 2 .4 / A 1 2
P 2 .5 / A 1 3
26
33 27
32 P 0 .6 /A D 6 P 2 .6 / A 1 4 28
P 0 .7 /A D 7 P 2 .7 / A 1 5
1 10
2 P 1 .0 P 3 .0 / R X D 11
3 P 1 .1 P 3 .1 / T X D 12
4 P 1 .2 P 3 .2 /IN T 0 13
5 P 1 .3 P 3 .3 /IN T 1 14
6 P 1 .4 P 3 .4 /T 0 15
7 P 1 .5 P 3 .5 /T 1 16
8 P 1 .6 P 3 .6 / W R 17
P 1 .7 P 3 .7 /R D
19 30
18 X TA L1 A L E /P R O G 29
X TA L2 P S E N
31
9 E A /V P P
RS T
A T 89C 51
provide a +5volt( logic 1). Port1 and Port3 are provided with internal
pull-ups. A pull-up resister is normally a 10K resistance connected
Crystal Oscillator
follows,
1) Hardware.
2) Software.
HARDWARE:
The controller operates on +5 V dc, so the regulated + 5v is supplied
to pin no. 40 and ground at pin no. 20. The controller is used here
crystal is used for operating the processor. The pin no. 9 is supplied
prepare codes are store in the internal flash memory the pin no. 31 is
connected to + Vcc
I.
SOFTWARE:
ALGORITHM
the access control word successfully from the telephone the program
enter into the scan mode to accept control word from the remote
1 8 X T A AL L1 E / P2 9R O G
X T A L 2P S E N
3 1
9 E A / V P P
R S T
2 2 p VF c c = + 5 V
A T 8 9 C 5 1
1 0 u F
RST
8 . 2 k
D. Differential amplifier:
The circuit shown is used for finding the difference of two voltages each
multiplied by some constant (determined by the resistors).
R f
1 0 k
V c c = + 1 2 v
7
R 1 U 1 A
V 1 2
-
V+
1 0 k 6
O U T V o u t
R 2
V 2 3
+
V-
1 0 k L M 7 4 1
R g
4
1 0 k V c c - 1 2 v
The name "differential amplifier" should not be confused with the "differentiator", also
shown on this page.
(Rf +R1)Rg
Rf (V1)
Vout = V2 - Rg
(Rg +R2)R1
For common-mode rejection, anything done to one input must be done to the other. The
addition of a compensation capacitor in parallel with Rf, for instance, must be balanced
by an equivalent capacitor in parallel with Rg.
Vout = V2 - V1
Subtractor (diff.amplifier):-
V C C 1 k
1 0 k
V C C
V y
T o v o l t a g e
c o m p a r a t o r
1 k
7
2 -
6
V C C 3 +
1 k
L M 7 4 1
4
V x 1 0 k
d i f f e r e n t i a l a m p l i f i e r
The above fig. shows the differential amplifier with one op-amp. Close examinations of
the above figure reveals that a differential amplifier is a combination of inverting and
non-inverting amplifier. That is, when Vx is reduced to zero the ckt is a non-inverting
amplifier. Where as the ckt is an inverting amplifier when input Vy is reduced to zero.
The ckt in fig (a) has two inputs, Vx and Vy: we will
therefore use the superposition theorem in order to establish the relationship between
inputs and outputs. When Vy =0V, the configuration becomes an inverting amplifier:
hence the output due to Vx only is
Vox = - Rf (Vx) / R1.
Similarly, when Vx = 0V, the configuration is a non-inverting amplifier having a voltage
–divider network composed of R2 & R3 at the non inverting input. Therefore,
V1 = R3 (Vy) / R2 + R3
And the output due to Vy then is
V0y = ( 1+ Rf / R1) V1
That is,
V0y = R3 / R2 + R3 (R2 + R3 / R1) Vy
Since R1 = R2 & Rf = R3,
V0y = Rf (Vy) / R1
Thus from equation 1 and 2, the net output voltage is
V0 = V0x + V0y
= - Rf / R1 (Vx – Vy)
` = - Rf (Vxy) / R1
or the voltage gain
Ad = V0 / Vxy = - Rf / R1
Note that the gain of the differential amplifier is the same as that of inverting amplifier.
The LM741 series are general purpose operational amplifiers which feature
improved performance over industry standards like the LM709. They are direct, plug-in
replacements for the 709C, LM201, MC1439 and 748 in most applications. The
amplifiers offer many features which make their application nearly foolproof: overload
protection on the input and output, no latch-up when the common mode range is
exceeded, as well as freedom from oscillations. The LM741C/LM741E is identical to the
LM741/LM741A except that the LM741C/LM741E has their performance guaranteed
over a 0C to a70C temperature range, instead of b55C to a125C.
E. MONOSTABLE
Monostable multivibrator: _ It is also called as a one-shot multivibrator. This
circuit requires an external triggering pulse to change the state of the output,
hence its name one-shot multivibrator. It is a pulse generating circuit in which the
In a stable state the outputs of the circuit is approximately zero or at logic low
level. When an external trigger pulse is applied, the output is forced to go high.
The external RC network connected to the timer determines the time output
remains high. At the end of the timing interval, the output automatically reverts
back to its logic low state. The output stays low until the trigger is applied. Then
upon application of a –ve trigger pulse to pin –2, transistor Q1 is turned OFF
which releases the short circuit across the external capacitor C and drives the o/p
high. The capacitor C now starts charging up towards Vcc through a RA. When
the voltage across the capacitor equals 2/3 Vcc, Comparator 1;s o/p switches
From low to high which in turn drives the o/p to low state via the o/p the flip-flop.
At the same time, the output of the flip-flop turns transistor Q1 ON, enhances
capacitor C rapidly discharges to the transistor. The output of the Monostable
remains low until a trigger pulse again applied. Then the cycle repeat.
Tp =1.1 R.C
When the IR signal is transmitter the sensor at the R*R section catches the
signal and that signal to trigger pin-2 of IC 555,which in turn trigger the ckt and
thus the output remains high. Its remains high until the charging and dis-charging
specification as follows
Coil voltage=12Vdc
Contact capacity=230V, 7A
The above specification indicates that the coil requires 12V dc and 200mA current dc.
The Microcontroller can’t supply more then 10mA current. So driver section is very
much required. BC547 has a typical current gain of 200 and maximum current capacity
These are vary much reliable devices and widely used on field. The operating
which is used here can care 25mA currents continuously. The electromagnetic relay
operates on the principle magnetism. When the base voltage appears at the relay driver
section, the driver transistor will be driver transistor will be driven into saturation and
allow to flow current in the coil of the relay, Which in turn create a magnetic field and
the magnetic force produced due to that will act against the spring tension and close the
contact coil. Whenever the base voltage is withdrawn the transistor goes to cutoff .So
no current flow in the coil of the relay. Hence the magnetic field disappears so the
contact point breaks automatically due to spring tension. Those contact points are
isolated from the low voltage supply, so a high voltage switching is possible by the help
of electromagnetic relays.
closes (NC), normally open (NO). Normally closed points will so a short CKT path
when the relay is off. Normally open points will so a short CKT path when the relay is
energized.
R E L A Y D R I V E R
V C C
5
3
4
1
2
IN 4 0 0 7
1 0 u F R E L A Y S P D T
1 .5 K
DATA
INPUT B C 5 4 7
G. LED INDICATOR
The indicator section consists of a light emitting diode and its driver
emitting diode. Here the driver circuit is required for the following
functionality.
current to glow.
Microcontroller.
= 4.8KΩ
=0.5µ A
VB-IBRB-VBE=0
⇒ IBRB = 5-0.7
RB = 5-0.7V/100µ A = 4.3/100 MΩ
= 0.043x10-6Ω
= 43KΩ
LED gets forward biased which turns ON the LED it indicates the
channels fault .
LED INDICATOR
V C C
3 3 0 E
L E D
6 8 k
DATA
INPUT B C 5 4 7
H. ADC INTERFACE
Analog to Digital converters are among the most widely used devices
Micro controller can read them. A widely used ADC chip is ADC804.
ADC804 CHIP
the ADC to convert the analog input to digital (binary) number. In the
ADC804,the conversion time varies depending on the clocking signal
applied to the CLK R and CLK IN pins, but it cannot be faster than 110
CS
Chip select is active low input used to active the ADC804 chip. To
RD (Read)
This is an input signal and is active low. The ADC converters the
RD is used to get the converted data out of the ADC804 chip. When
output shows up at the D0-D7 data pins. The RD pin is also referred to
as output enable.
This is an active low input used to inform the ADC804 to start the
depending on the CLK IN and CLK R values explained below. When the
timing. However, the 804 has an internal clock generators. To use the
internal clock generator of the ADC 804,the CLK IN and CLK R pins are
f = 1/1.1RC
Typical values are R=10k ohms and C=150 pF. Substituting in the
is 110 µ s.
This is an output pin and is active low. It is a normally high pin and
when the conversion is finished, it goes low to signal the CPU that the
converted data is ready to be picked up. After INTR goes low, we make
CS=0 and send a high –to-low pulse to the RD pin to get the data out
Often the vin(-) pin is connected to ground and the Vin(+) pin is used
Vcc
Vref/2
Pin 9 is an input voltage used for the reference voltage. If this pin is
open, the analog input voltage for the ADC804 is in the range of 0 to 5
volts. However there are many applications where the analog input
volts .
D0 – D7
D0 – D7 (where D7 is the MSB, D0 the LSB) are the digital data output
pins. these are tri-state buffered and the converted data is accessed
bit ADC.
A/D CONVERTER
VC C =5 V
20
P1.0 D 0 18 1pF
18 CLK R 1 0 k
P1.1 D 1 19
17
P1.2 D 2 CLK IN
16 4
P1.3 D 3 O/P OF ANALOG MUG
15 Vin(+)
P1.4 D 4 6
14
P1.5 D 5
13 7 Vin(-) 1 0 k
P1.6 D 6
8 Agnd
12
P1.7 D 7
11
Vref/2
9
P3.0 RD
2 Dgnd
10
P3.1 WR
3 CS
1
P3.2 INTR
5
AT
A T 89C51
89S8 252 ADC 0804
4. Principle of Design
wave using a zero cross detector. The V and I sample signals are feed to the
micro controller at INT0 and INT1 and the difference between the arrival of wave
forms indicate the phase angle difference. The difference is measured with high
accuracy by using internal timer. This time value is calibrated as phase angle and
corresponding power factor. The values are displayed in the 2x16 LCD module
after converting suitably. The capacitor banks are switched as per the calibration
in steps.
5. Conclusion:
The project is tested in the laboratory condition and found operating satisfactorily.
The errors observed are under the experimental tolerance limit. This can
measure the power factor with an tolerance of .01. The capacitor banks can be