Professional Documents
Culture Documents
ON
PROTECTION AND FAULT ANNOUNCIATION
SYSTEM FOR DOMESTIC LOAD
SUBMITTED BY:
LECTURER
1
DEPARTMENT OF ELECTRICAL ENGINEERING
CHAROTAR INSTITUTE OF TECHNOLOGY, CHANGA
JUNE, 2011.
CERTIFICATE
To the best of my knowledge and belief, this work embodies the work of
candidate himself, has duly been completed, fulfills the requirement of the
ordinance relating to the Bachelor Degree of the university and is up to the
standard in respect of content, presentation and language for being referred to
the examiner.
Lecturer,
2
ACKNOWLEDGEMENT
Famous author R.S. Pressnon says a big project is like having a hungry and bad-
tampered monster chained up in your basement. You can go out and have fun,
but eventually you must return home and feed the hungry beast. There are many
persons who have helped me feed this feed beast over the past few months who
deserve our sincere thanks for their patience, contributions or both.
We sincerely feel that the credit of our project work could not be narrowed down
to only one individual. This work is an integrated effort of all those concerned
with it, through whose co-operation and effective guidance we could achieve its
successful completion. We take this opportunity to acknowledge all them who
truly deserve it.
We are very thankful to our guide Mr.Jenish Macwan, who have guided us heartily
and gave personal attention for developing and completing this project. In fact
we think that it was very difficult to develop such a nice project without their
contribution.
We are also very thankful to our Head of the Department. Mr. Bhavesh Shah, who
have permitted us for doing this project and helped us whenever we experienced
and difficultly or when we required any extra facilities, besides we would like to
acknowledge the constructive criticism, inspiration and support facilitate by our
friends and without whom successful completion of this project would become
very difficult.
3
PROJECT ON
PROTECTION AND FAULT ANNOUNCIATION
SYSTEM
FOR DOMESTIC LOAD
4
INDEX
1 PROJECT MEANING 6
2 INTRODUCTION 7
3 CIRCUIT DIAGRAM 8
4 PCB LAYOUT 10
5 CIRCUIT OPERATION 11
7 APPLICATION 15
9 DESCRIPTION OF COMPONENTS 17
10 COSTING 29
11 MICROCONTROLLER PROGRAM 31
12 CONCLUSION 45
13 BIBLIOGRAPHY 46
5
1. PROJECT MEANING
C = Costing of work.
6
2. INTRODUCTION
Earth Leak Circuit Breakers (ELCB) has been set to higher threshold leakage
current, which fail to protect people from getting electrocuted. This has been a
standard problem facing the industry & domestics. No solution has ever been
proposed to protect human life while allowing for large leakage currents through
equipments, which again is an unavoidable reality. Earth Leak circuit breaker
(ELCB) has been around\d for a few decades now. Its introduction has helped
many lives as it can trip and isolate dangerous voltage source in a very short time
for extremely small current leaks passing through people/animals etc. however it
has been noticed that many equipments have leakage currents of the order of
several orders of magnitude compared to tolerance limit for humans/ animals. It
is in such a case, ELCBs have been set to higher threshold leakage currents, which
fail to protect people from getting electrocuted. Earth leakage is an electrical
hazard, which is responsible for electric shock and fire risk. Earth leakage and its
associated hazard can be prevented by the use of earth Leakage circuit Breaker.
Now days due to over & under voltage there is chance for short circuit or
any electrical equipment can be damage. So to protect this we introduce a circuit
to save from this dangerous hazard. The over/under voltage circuit protects
domestic appliances from over and under voltage In this circuit if the A.C voltage
increases beyond 240v the relay energize & AC supply is disconnected & same as
if the AC voltage decrease below 180v the relay energize & AC supply is
disconnected and electrical appliances turn-off thus the electrical equipment is
saved. We will discuss both circuits in detail.
7
3. CIRCUIT DIAGRAM
8
9
4. PCB LAYOUT
10
5. CIRCUIT OPERATION
Then we use four Diodes & make a Bridge. Then we connect the IC-7812 In put
terminal to the bridges are terminal and other terminal of bridge is connected to
the IC7912 transformers two terminal is the ground, & we connect the capacitor
of 1000 micro F, between IC'S first terminal of 3.3 micro F between IC'S last
terminal. However we get output from the third terminal of IC 7812 & IC 7912
which is +12v DC.
OPERATION
Bridge rectifier circuit use to convert AC in to DC & with the help of IC7812 & IC
7912 we can get +12V DC in bridge rectifier when AC supply goes to positive half
cycle the diode 01 & 04 is forward bias & diode 02 & 03 goes to reverse bias. In
negatives half cycle diode 02 & 03 goes to forward bias and diode 01 & 04 is
reverse bias. However we can get constant voltage in both positive and negative
cycle which is DC. With the help of capacitor we can get pure DC at the output
terminal.
The ELCB works on the current balance principle. The supply conductors.
I.e. the phases and the neutral are passed through a torrid and form the primary
windings of a current transformer. Its secondary winding is connected to a highly
sensitive electromagnetic trip relay which operates the trip mechanism. In a
healthy circuit sum of equal to the current in phases; is equal to the current in the
neutral and the vector Sum of all current is equal to zero. If there is any insulation
fault in the circuit and leakage current flows to earth, the currents do not balance
and their vector sum is not equal to zero. This imbalance is detected by the
current transformer, the ELCB tripped and supply to load is interrupted and
buzzer is activated.
11
WORKING OF ELCB
This circuit is used as a shock preventer as it cuts off the supply within 20ms
of sensing a fault. Once the line is cut off, it remains off until the reset switch is
pressed. The earth leakage of current is sensed by checking the difference
between current through phase and neutral by the current transformer X2. This is
done by flux subtraction in the core of the transformer.
When anyone touches the phase, a small current flows through the body to
earth. This will cause an increase in phase current, producing an output AC, which
is amplified by and fed to the base of a switching transistor through a Zener diode.
The Zener diode is used to cancel offset voltage and noise effects. So, when
high voltage occurs. The base current of transistor energies the relay. The supply
through N/C terminals of the relay cuts off when the relay energies thus
preventing any shock.
Once the relay is energized contacts short the transistor, thus causing the
relay to remain on. The circuit can be reset by cutting the supply of the relay. This
is done by pressing the push to off reset switch.
This circuit is used to protect the domestic appliances from over and under
voltage. Operational amplifier IC LM324 (IC2) is used here as a comparator. IC
LM324 consists of four operational amplifiers, of which only two operational
amplifiers (N1 & N2) are used in the circuit. IC1 is wired for a regulated 12v supply.
12
Hence the output of the operational amplifier is zero and transistor T1 remains
off. The relay,
Thus the relay energize in two condition: First, if the voltage at pin 3 of IC2
is above 6.8v, and Second, if the voltage at pin 6 of IC2 is below 6v. Over-voltage
and under-voltage levels can be adjusted using presets VR1 and VR2, respectively.
13
6. FEATURES AND ADVANTAGES
1. The truly current operated device ELCB can operate at nominal voltage less
than the 10 volts. This is unlike some of the other products incorporate-rating
electronic circuitry which fail to operate when there is a severe drop in the supply
voltage. For e.g. due to a fault. The ELCB are totally independent of the mains
voltage for tripping and provide a highly reliable protection.
2. Our ELCB trip in the event of opening of neutral wire due to any reason and
are provided with neutral, advance mechanism which ensures and complete
discharge of line inductance / capacitance.
3. The mechanism is trip-free ensuring that the ELCB cannot be re-closed /reset if
the earth leakage / fault persist.
4. They have a very con. Operational life of over 10,000 thousand operation.
6. The ELCB have excellent short circuit withstand ensuring that there is no
damage to the device itself
8. ELCB with O/V & U/V circuit protects equipment against voltage variation
above & below from equipment rated or working voltage.
9. O/V & U/V circuit protects the domestic appliances from over & under
voltages & short circuit.
10. O/V & U/V circuit protects from damage of electrical & electronics
Equipment & other dangerous hazards.
14
7. APPLICATION
2. Fuses and MCBs, whilst provide protection against over currents and indirect
contact, do not give any protection to any person. Who may come into contact
with live parts causing current to flow through the body to earth. A correctly
chosen ELCB can detect such small current flowing to earth and breaks the circuit
to greatly reduce the risk of electrocution to human and domestic cattle at shock
hazard voltages,
3. The majority of fires occur as a result of faulty wiring, which results in a fault
current flowing to the earth. Fires can be started by fault currents of this nature of
less than 1 amp. The normal domestic over load protective device, such as a fuse
or an MCB, cannot detect such a small current. A correctly chosen ELCB shall
detect this fault current, interrupt the supply and greatly reduce the risk of fire.
6. The reliably protect the cables, wires, electrical equipment and electrical
appliances such as air conditioners, pump set, compressor refrigerator, geysers,
grinders, etc.
15
8. USED COMPONENT LIST
Transformer (12-0-12)
Resistor
Variable resistor
Capacitor
Diode
LED
Transistor
Relay (DPDT)
Zener Diode
IC-741
IC-LM324
Main Switch
16
9. DESCRIPTION OF COMPONENTS
(1) TRANSFORMER
(2) RESISTOR
In electronic path the material which gives resistance to flow the current is
called resistor and the ability to lock the current is called resistivity VIR=1
There are many types of resistor carbon type, wire wound, film type etc.
17
There are three type of resistor
1. Composition type
2. Film type
3. Wire wound
18
19
(3) VARAIBLE RESISTOR
Variable resistor are available in variety of forms the most popular of which
are carbon truck a wire wound potentiometers wire wound put are generally only
available with linear low tracks power rating up to 1 w values. Which range from
10 to 100 ohm.
(4) CAPACITOR
TYPES OF CAPACITOR
1) Electrolyte Capacitor
2) Ceramic Capacitor
3) Paper type Capacitor
TESTING OF CAPACITOR
20
FUNCTION
Capacitors store electric charge. They are used with resisters in timing
circuits because it takes time for a capacitor to fill with charge. They are used to
smooth varying DC supplies by acting as a reservoir of charge. They are also used
in filter circuits because capacitors easily pass AC signals but they block DC signals.
Diodes are two terminal unilateral devices and conduct current only from
anode to cathode. Most of the semiconductor diodes are junction diodes formed
by growing a metallurgical junction between p-type and n-type semiconductors.
FUNCTION
Diode allows electricity to flow in only one direction. The arrow of the
circuit symbol shows the direction in which the current can flow. Diode is the
electrical version of a valve and early diodes were actually called valves.
Electricity uses up a little energy pushing its way through the Diode, rather
person pushing through a door with a spring. This means that there is a small
voltage across a conducting diode, it is called the forward voltage drop and is
about 0.7 volt for all normal diode which are made from silicon. The forward
voltage drop of a diode is almost constraint whatever the current passing through
the diode so they have a very steep characteristic (I - V GRAPH).
REVERSE VOLTAGE
When a reverse voltage is applied a perfect diode does not conduct, but all
real diodes leak a very tiny current of a few A or less. This can be ignored in most
circuits because it will be very much smaller than' the current flowing in the
forward direction. However, all diodes have a maximum reverse voltage and if this
exceed the diode will fail and pass a large current in the reverse direction, his is
called Breakdown.
APPLICATION
1. Rectification of AC
2. Switching
3. Modulation, demodulation and frequency changing
4. Generation and detection of light
21
5. Generation and amplification of signals
6. Wave shaping and such as clipping, clamping etc
7. Providing reference voltages and so on depending upon their structure
And doping level.
(6) TRANSISTOR
For normal operation, you forward-bias the emitter diode and reverse
biased the collector diode. Under these conditions, the emitter sends the
electrons in to the base. Most of these free electrons Pass through the base to the
collector. Because of this, the collector current approximately equals the emitter
current. The base current is much smaller, typically less than 5 percent of the
emitter current.
The coil of a relay passes a relatively large current, typically 30mA for 12V
relay, but it can be as much as 100 mA for relays designed to operate from lower
voltages. Most ICs cannot provide this current and a transistor is usually used to
amplify the small current to the Larger value required for the relay coil The
maximum output current for the popular 555 timer IC is 200mA so these devices
can Supply relay coils directly without amplification.
22
Relays are usually SPDT or DPOT but they can have many more sets of
switch contacts, for example relays with 4 sets of changeover contacts readily
available. For further information about switch contacts and the terms used to
describe them please see the page. The relays switch connections are usually
labeled COM, NC and NO:
We have shown that when a P-N junction is reverse biased it breaks down
at particular voltage is called reverse breakdown. Large breakdown current may
destroy the diode because if excessive heating. To prevent destruction of the
diode the current should be limited by external circuit and proper heat dissipation
capability should be provided. The diode is known as the Zener diode.
We have shown that when a P-N junction is reversing biased it breaks down
at a particular voltage Vb. We observe from the characteristics that the reverse
voltage. When the reverse voltage equals VB, the reverse current shoots up and is
limited by the external circuit only. The voltage remains constant for a wide range
of current. If the reverse voltage is reduce below the current again become small.
Thus as the reverse voltage is brought back to zero, the characteristics is retraced.
Such a breakdown is therefore called a reversible breakdown. Large breakdown
current may destroy the diode because of excessive heating. To prevent
destruction of the diode. The current should be .limited by external circuit and
proper heat dissipation capability should be provided. This diode is known as the
Zener diode. The characteristics of the Zener diode can be utilized with
advantages to produce a voltage reference. That is this diode can be used as
constant voltage source particularly where the variation of either the load current
or the input supply voltage are likely to change the load voltage such an
application is illustrated by the following example.
Small signal and rectifier diode are never intentionally operated in the
brake down region because this may cause damage to them a Zener diode is
23
different. It is silicon diode that the manufacturer has optimized for the operation
in the breakdown region. It is sometime called a breakdown diode. The Zener
diode is a breakdown of voltage regulation circuits that hold the voltage almost
constant despite large changes in the voltage & load resistance.
In bar primary type CT the primary is a straight conductor which is the part
of power system. In this type of CT the secondary has a rain type iron core on
which the winding is wound uniformly over the entire periphery. This type of
construction has negligible leakage flux both primary & secondary. As there is only
one primary turn the primary current should be high enough to produce sufficient
exciting amp turns for give a reasonable output.
Wound type CT has E, I, T & L Type core. The primary winding is wound in
the N as the primary turns are fewer they cannot be disturbed uniformly leakage
flux & hence passes a high reactance.
WORKING
The load connected to the system and is not determined by the load
(burden) connected on the secondary winding of the current transformer. The
primary winding consists of very few turns and, therefore, there is no appreciable
voltage drop across it. The secondary winding of current transformer has larger
number of turns ratio. Thus a current.
Transformer operates its secondary winding nearly under short circuit
condition. Only of the terminal of the secondary winding is earthed so as to
24
protect equipment and personal in the vicinity in the event of an insulation
breakdown in the current transformer.
25
INTRODUCTION
The term operational Amplifier" or" OP-AMP" originated in 1947. The early
work with operational amplifier concerned on their use in analog simulation and
in the solution of integral differential equation nowadays the OP-AMP has
become.
To a basic building in instrumentation computation and control basically the
OP-Amp is a high gain direct coupled Amplifier in negative feedback is used in
conjugation with such. A high gain Amplifier steady stable and predictable output
relationship is obtained.
It has two inputs. One is non inverting input which is marked + (Pin no 3)
and the other is the inverting input which is marked - (Pin No.2).
(2) Constant Current Source
26
Constant current required for differential amplifier is supplied from this.
Constant current is necessary for common mode rejection.
(3) Second Differential Amplifier
It works as buffer between the high gain differential amplifier and output
stage. Emitter follower stage given high impedance to the differential
amplifier and less impendence to the output stage
.
(5) Output Stage
The output voltages are directly proportional to the algebraic difference between
the two input voltages. The polarity of the output voltage depends on the polarity
of the difference voltage.
Here in fig shown below IC-7812 is positive voltage regulator and another
figure of IC-7912 shows negative voltage regulator.
27
Such voltage regulators are also available in the range of 5V, 6V, 10V, 12V, 15V,
18V and 24V. Different ranges of voltages and currents are available. The voltage
range is 12-0-12 volts. For different load current different type of ICs are available.
The current range is from 1.5 to 5 amp. Different types of three terminal
adjustable positive voltage regulator ICs available are IC-741. The formula for
output voltage is.
VO = VRf [R2/R1 + 1]
28
10. COSTING
200 k preset 10
10 k preset 10
Bc547(NPN to92) (4) 34
1N4007(4) 12
1N4148 8
4V7 Zener 12
4 MHz crystal 25
33pf capacitor (2) 10
10 f capacitor (6) 34
47 f capacitor (2) 15
1000 / 25 capacitor 15
100f / 25 capacitor 15
0.1nf capacitor 5
0.22nf capacitor 10
7805 volt regulator 18
BC557 8
29
10K n resistor 18
PCB design self
Led (2) 2
AT9552 138
UC 741 (3) 20
NE 555 20
LCD Module 490
ELC transformer 180
30
11. CONTROLLER PROGRAM
32
C:0x00C6 7FC0 MOV R7,#0xC0
C:0x00C8 120433 LCALL C:0433
C:0x00CB 7BFF MOV R3,#0xFF
C:0x00CD 7A02 MOV R2,#0x02
C:0x00CF 794A MOV R1,#0x4A
C:0x00D1 12031F LCALL C:031F
C:0x00D4 1203CE LCALL C:03CE
C:0x00D7 C2B4 CLR T0(0xB0.4)
C:0x00D9 20B2FD JB INT0(0xB0.2),C:00D9
C:0x00DC 7F32 MOV R7,#0x32
C:0x00DE 803E SJMP C:011E
C:0x00E0 20911D JB T2EX(0x90.1),C:0100
C:0x00E3 12030B LCALL C:030B
C:0x00E6 7FC0 MOV R7,#0xC0
C:0x00E8 120433 LCALL C:0433
C:0x00EB 7BFF MOV R3,#0xFF
C:0x00ED 7A02 MOV R2,#0x02
C:0x00EF 795A MOV R1,#0x5A
C:0x00F1 12031F LCALL C:031F
C:0x00F4 1203CE LCALL C:03CE
C:0x00F7 C2B4 CLR T0(0xB0.4)
C:0x00F9 20B2FD JB INT0(0xB0.2),C:00F9
C:0x00FC 7F0A MOV R7,#0x0A
C:0x00FE 801E SJMP C:011E
C:0x0100 209227 JB 0x90.2,C:012A
C:0x0103 12030B LCALL C:030B
C:0x0106 7FC0 MOV R7,#0xC0
C:0x0108 120433 LCALL C:0433
C:0x010B 7BFF MOV R3,#0xFF
C:0x010D 7A02 MOV R2,#0x02
C:0x010F 796B MOV R1,#0x6B
C:0x0111 12031F LCALL C:031F
C:0x0114 1203CE LCALL C:03CE
C:0x0117 C2B4 CLR T0(0xB0.4)
C:0x0119 20B2FD JB INT0(0xB0.2),C:0119
C:0x011C 7F0A MOV R7,#0x0A
C:0x011E 7E00 MOV R6,#0x00
C:0x0120 1203D2 LCALL C:03D2
C:0x0123 D2B1 SETB TXD(0xB0.1)
C:0x0125 D2B2 SETB INT0(0xB0.2)
C:0x0127 0200C0 LJMP C:00C0
C:0x012A 20930E JB 0x90.3,C:013B
C:0x012D C2B1 CLR TXD(0xB0.1)
33
C:0x012F AF0F MOV R7,0x0F
C:0x0131 050F INC 0x0F
C:0x0133 8F0F MOV 0x0F,R7
C:0x0135 12029C LCALL C:029C
C:0x0138 0200C0 LJMP C:00C0
C:0x013B 1203F2 LCALL C:03F2
C:0x013E 7BFF MOV R3,#0xFF
C:0x0140 7A02 MOV R2,#0x02
C:0x0142 797B MOV R1,#0x7B
C:0x0144 12031F LCALL C:031F
C:0x0147 7FC0 MOV R7,#0xC0
C:0x0149 120433 LCALL C:0433
C:0x014C 7BFF MOV R3,#0xFF
C:0x014E 7A02 MOV R2,#0x02
C:0x0150 798B MOV R1,#TL1(0x8B)
C:0x0152 12031F LCALL C:031F
C:0x0155 309009 JNB T2(0x90.0),C:0161
C:0x0158 309106 JNB T2EX(0x90.1),C:0161
C:0x015B 309203 JNB 0x90.2,C:0161
C:0x015E 2093F4 JB 0x90.3,C:0155
C:0x0161 D2B1 SETB TXD(0xB0.1)
C:0x0163 D2B3 SETB INT1(0xB0.3)
C:0x0165 C2B4 CLR T0(0xB0.4)
C:0x0167 0200C0 LJMP C:00C0
C:0x016A 535953 ANL 0x59,#0x53
C:0x016D 5445 ANL A,#0x45
C:0x016F 4D ORL A,R5
C:0x0170 205348 JB 0x2A.3,C:01BB
C:0x0173 5554 ANL A,0x54
C:0x0175 444F ORL A,#0x4F
C:0x0177 57 ANL A,@R1
C:0x0178 4E ORL A,R6
C:0x0179 00 NOP
C:0x017A 4F ORL A,R7
C:0x017B 56 ANL A,@R0
C:0x017C 4552 ORL A,0x52
C:0x017E 204C4F JB 0x29.4,C:01D0
C:0x0181 4144 AJMP C:0244
C:0x0183 204552 JB 0x28.5,C:01D8
C:0x0186 524F ANL 0x4F,A
C:0x0188 5200 ANL 0x00,A
C:0x018A 535953 ANL 0x59,#0x53
C:0x018D 5445 ANL A,#0x45
34
C:0x018F 4D ORL A,R5
C:0x0190 205041 JB 0x2A.0,C:01D4
C:0x0193 5553 ANL A,0x53
C:0x0195 4544 ORL A,0x44
C:0x0197 00 NOP
C:0x0198 4A ORL A,R2
C:0x0199 4159 AJMP C:0259
C:0x019B 47 ORL A,@R1
C:0x019C 5552 ANL A,0x52
C:0x019E 5544 ANL A,0x44
C:0x01A0 4556 ORL A,0x56
C:0x01A2 200039 JB 0x20.0,C:01DE
C:0x01A5 39 ADDC A,R1
C:0x01A6 37 ADDC A,@R1
C:0x01A7 39 ADDC A,R1
C:0x01A8 36 ADDC A,@R0
C:0x01A9 2D ADD A,R5
C:0x01AA 32 RETI
C:0x01AB 39 ADDC A,R1
C:0x01AC 37 ADDC A,@R1
C:0x01AD 32 RETI
C:0x01AE 38 ADDC A,R0
C:0x01AF 00 NOP
C:0x01B0 434841 ORL 0x48,#0x41
C:0x01B3 524F ANL 0x4F,A
C:0x01B5 5441 ANL A,#0x41
C:0x01B7 5220 ANL 0x20,A
C:0x01B9 554E ANL A,0x4E
C:0x01BB 49 ORL A,R1
C:0x01BC 2E ADD A,R6
C:0x01BD 204F46 JB 0x29.7,C:0206
C:0x01C0 00 NOP
C:0x01C1 534349 ANL 0x43,#0x49
C:0x01C4 454E ORL A,0x4E
C:0x01C6 434520 ORL 0x45,#0x20
C:0x01C9 414E AJMP C:024E
C:0x01CB 4420 ORL A,#0x20
C:0x01CD 5445 ANL A,#0x45
C:0x01CF 434800 ORL 0x48,#0x00
C:0x01D2 202020 JB 0x24.0,C:01F5
C:0x01D5 47 ORL A,@R1
C:0x01D6 5549 ANL A,0x49
C:0x01D8 4445 ORL A,#0x45
35
C:0x01DA 4420 ORL A,#0x20
C:0x01DC 4259 ORL 0x59,A
C:0x01DE 2E ADD A,R6
C:0x01DF 202020 JB 0x24.0,C:0202
C:0x01E2 00 NOP
C:0x01E3 4D ORL A,R5
C:0x01E4 722E ORL C,0x25.6
C:0x01E6 204A45 JB 0x29.2,C:022E
C:0x01E9 4E ORL A,R6
C:0x01EA 49 ORL A,R1
C:0x01EB 534820 ANL 0x48,#0x20
C:0x01EE 4D ORL A,R5
C:0x01EF 4543 ORL A,0x43
C:0x01F1 57 ANL A,@R1
C:0x01F2 414E AJMP C:024E
C:0x01F4 00 NOP
C:0x01F5 5241 ANL 0x41,A
C:0x01F7 5448 ANL A,#0x48
C:0x01F9 4F ORL A,R7
C:0x01FA 4420 ORL A,#0x20
C:0x01FC 56 ANL A,@R0
C:0x01FD 49 ORL A,R1
C:0x01FE 534841 ANL 0x48,#0x41
C:0x0201 4C ORL A,R4
C:0x0202 20422E JB 0x28.2,C:0233
C:0x0205 00 NOP
C:0x0206 28 ADD A,R0
C:0x0207 442F ORL A,#0x2F
C:0x0209 30382F JNB 0x27.0,C:023B
C:0x020C 4545 ORL A,0x45
C:0x020E 2F ADD A,R7
C:0x020F 36 ADDC A,@R0
C:0x0210 39 ADDC A,R1
C:0x0211 29 ADD A,R1
C:0x0212 00 NOP
C:0x0213 47 ORL A,@R1
C:0x0214 4F ORL A,R7
C:0x0215 5220 ANL 0x20,A
C:0x0217 4448 ORL A,#0x48
C:0x0219 5255 ANL 0x55,A
C:0x021B 5041 JNC C:025E
C:0x021D 4420 ORL A,#0x20
C:0x021F 422E ORL 0x2E,A
36
C:0x0221 00 NOP
C:0x0222 28 ADD A,R0
C:0x0223 442F ORL A,#0x2F
C:0x0225 30382F JNB 0x27.0,C:0257
C:0x0228 4545 ORL A,0x45
C:0x022A 2F ADD A,R7
C:0x022B 36 ADDC A,@R0
C:0x022C 3529 ADDC A,0x29
C:0x022E 00 NOP
C:0x022F 4C ORL A,R4
C:0x0230 4144 AJMP C:0244
C:0x0232 205049 JB 0x2A.0,C:027E
C:0x0235 4E ORL A,R6
C:0x0236 4B ORL A,R3
C:0x0237 414C AJMP C:024C
C:0x0239 20532E JB 0x2A.3,C:026A
C:0x023C 00 NOP
C:0x023D 28 ADD A,R0
C:0x023E 442F ORL A,#0x2F
C:0x0240 30382F JNB 0x27.0,C:0272
C:0x0243 4545 ORL A,0x45
C:0x0245 2F ADD A,R7
C:0x0246 36 ADDC A,@R0
C:0x0247 38 ADDC A,R0
C:0x0248 29 ADD A,R1
C:0x0249 00 NOP
C:0x024A 4F ORL A,R7
C:0x024B 56 ANL A,@R0
C:0x024C 4552 ORL A,0x52
C:0x024E 2D ADD A,R5
C:0x024F 56 ANL A,@R0
C:0x0250 4F ORL A,R7
C:0x0251 4C ORL A,R4
C:0x0252 5420 ANL A,#0x20
C:0x0254 4552 ORL A,0x52
C:0x0256 524F ANL 0x4F,A
C:0x0258 5200 ANL 0x00,A
C:0x025A 554E ANL A,0x4E
C:0x025C 4445 ORL A,#0x45
C:0x025E 522D ANL 0x2D,A
C:0x0260 56 ANL A,@R0
C:0x0261 4F ORL A,R7
C:0x0262 4C ORL A,R4
37
C:0x0263 5420 ANL A,#0x20
C:0x0265 4552 ORL A,0x52
C:0x0267 524F ANL 0x4F,A
C:0x0269 5200 ANL 0x00,A
C:0x026B 4541 ORL A,0x41
C:0x026D 5254 ANL 0x54,A
C:0x026F 48 ORL A,R0
C:0x0270 49 ORL A,R1
C:0x0271 4E ORL A,R6
C:0x0272 47 ORL A,@R1
C:0x0273 204C45 JB 0x29.4,C:02BB
C:0x0276 414B AJMP C:024B
C:0x0278 47 ORL A,@R1
C:0x0279 4500 ORL A,0x00
C:0x027B 444F ORL A,#0x4F
C:0x027D 4D ORL A,R5
C:0x027E 4553 ORL A,0x53
C:0x0280 5449 ANL A,#0x49
C:0x0282 432047 ORL 0x20,#0x47
C:0x0285 4155 AJMP C:0255
C:0x0287 5244 ANL 0x44,A
C:0x0289 20004F JB 0x20.0,C:02DB
C:0x028C 56 ANL A,@R0
C:0x028D 2D ADD A,R5
C:0x028E 5556 ANL A,0x56
C:0x0290 2D ADD A,R5
C:0x0291 4F ORL A,R7
C:0x0292 4C ORL A,R4
C:0x0293 2D ADD A,R5
C:0x0294 454C ORL A,0x4C
C:0x0296 205341 JB 0x2A.3,C:02DA
C:0x0299 46 ORL A,@R0
C:0x029A 4500 ORL A,0x00
C:0x029C EF MOV A,R7
C:0x029D D3 SETB C
C:0x029E 9403 SUBB A,#0x03
C:0x02A0 4028 JC C:02CA
C:0x02A2 1203F2 LCALL C:03F2
C:0x02A5 120319 LCALL C:0319
C:0x02A8 7FC0 MOV R7,#0xC0
C:0x02AA 120433 LCALL C:0433
C:0x02AD 7BFF MOV R3,#0xFF
C:0x02AF 7A01 MOV R2,#0x01
38
C:0x02B1 797A MOV R1,#0x7A
C:0x02B3 12031F LCALL C:031F
C:0x02B6 C2B3 CLR INT1(0xB0.3)
C:0x02B8 D2B4 SETB T0(0xB0.4)
C:0x02BA 1203CE LCALL C:03CE
C:0x02BD C2B4 CLR T0(0xB0.4)
C:0x02BF 20B2FD JB INT0(0xB0.2),C:02BF
C:0x02C2 E4 CLR A
C:0x02C3 F50F MOV 0x0F,A
C:0x02C5 D2B1 SETB TXD(0xB0.1)
C:0x02C7 D2B2 SETB INT0(0xB0.2)
C:0x02C9 22 RET
C:0x02CA D2B4 SETB T0(0xB0.4)
C:0x02CC C2A4 CLR 0xA0.4
C:0x02CE D2A3 SETB 0xA0.3
C:0x02D0 1203F2 LCALL C:03F2
C:0x02D3 7BFF MOV R3,#0xFF
C:0x02D5 7A01 MOV R2,#0x01
C:0x02D7 798A MOV R1,#TL0(0x8A)
C:0x02D9 12031F LCALL C:031F
C:0x02DC 7FC0 MOV R7,#0xC0
C:0x02DE 120433 LCALL C:0433
C:0x02E1 7BFF MOV R3,#0xFF
C:0x02E3 7A01 MOV R2,#0x01
C:0x02E5 797A MOV R1,#0x7A
C:0x02E7 12031F LCALL C:031F
C:0x02EA 7F32 MOV R7,#0x32
C:0x02EC 7E00 MOV R6,#0x00
C:0x02EE 1203D2 LCALL C:03D2
C:0x02F1 D2A4 SETB 0xA0.4
C:0x02F3 1203CE LCALL C:03CE
C:0x02F6 C2B3 CLR INT1(0xB0.3)
C:0x02F8 C2B4 CLR T0(0xB0.4)
C:0x02FA 20A3FD JB 0xA0.3,C:02FA
C:0x02FD D2B3 SETB INT1(0xB0.3)
C:0x02FF 7F32 MOV R7,#0x32
C:0x0301 7E00 MOV R6,#0x00
C:0x0303 1203D2 LCALL C:03D2
C:0x0306 D2B1 SETB TXD(0xB0.1)
C:0x0308 D2A3 SETB 0xA0.3
C:0x030A 22 RET
C:0x030B C2B1 CLR TXD(0xB0.1)
C:0x030D D2B4 SETB T0(0xB0.4)
39
C:0x030F 7F0A MOV R7,#0x0A
C:0x0311 7E00 MOV R6,#0x00
C:0x0313 1203D2 LCALL C:03D2
C:0x0316 12045D LCALL C:045D
C:0x0319 7BFF MOV R3,#0xFF
C:0x031B 7A01 MOV R2,#0x01
C:0x031D 796A MOV R1,#0x6A
C:0x031F 8B08 MOV 0x08,R3
C:0x0321 8A09 MOV 0x09,R2
C:0x0323 890A MOV 0x0A,R1
C:0x0325 12040B LCALL STRLEN(C:040B)
C:0x0328 8E0D MOV 0x0D,R6
C:0x032A 8F0E MOV 0x0E,R7
C:0x032C E4 CLR A
C:0x032D F50B MOV 0x0B,A
C:0x032F F50C MOV 0x0C,A
C:0x0331 C3 CLR C
C:0x0332 E50C MOV A,0x0C
C:0x0334 950E SUBB A,0x0E
C:0x0336 E50D MOV A,0x0D
C:0x0338 6480 XRL A,#P0(0x80)
C:0x033A F8 MOV R0,A
C:0x033B E50B MOV A,0x0B
C:0x033D 6480 XRL A,#P0(0x80)
C:0x033F 98 SUBB A,R0
C:0x0340 501D JNC C:035F
C:0x0342 AB08 MOV R3,0x08
C:0x0344 AA09 MOV R2,0x09
C:0x0346 A90A MOV R1,0x0A
C:0x0348 850C82 MOV DP0L(0x82),0x0C
C:0x034B 850B83 MOV DP0H(0x83),0x0B
C:0x034E 120360 LCALL C?CLDOPTR(C:0360)
C:0x0351 FF MOV R7,A
C:0x0352 120442 LCALL C:0442
C:0x0355 050C INC 0x0C
C:0x0357 E50C MOV A,0x0C
C:0x0359 70D6 JNZ C:0331
C:0x035B 050B INC 0x0B
C:0x035D 80D2 SJMP C:0331
C:0x035F 22 RET
C?CLDOPTR:
C:0x0360 BB010C CJNE R3,#0x01,C:036F
C:0x0363 E582 MOV A,DP0L(0x82)
40
C:0x0365 29 ADD A,R1
C:0x0366 F582 MOV DP0L(0x82),A
C:0x0368 E583 MOV A,DP0H(0x83)
C:0x036A 3A ADDC A,R2
C:0x036B F583 MOV DP0H(0x83),A
C:0x036D E0 MOVX A,@DPTR
C:0x036E 22 RET
C:0x036F 5006 JNC C:0377
C:0x0371 E9 MOV A,R1
C:0x0372 2582 ADD A,DP0L(0x82)
C:0x0374 F8 MOV R0,A
C:0x0375 E6 MOV A,@R0
C:0x0376 22 RET
C:0x0377 BBFE06 CJNE R3,#0xFE,C:0380
C:0x037A E9 MOV A,R1
C:0x037B 2582 ADD A,DP0L(0x82)
C:0x037D F8 MOV R0,A
C:0x037E E2 MOVX A,@R0
C:0x037F 22 RET
C:0x0380 E582 MOV A,DP0L(0x82)
C:0x0382 29 ADD A,R1
C:0x0383 F582 MOV DP0L(0x82),A
C:0x0385 E583 MOV A,DP0H(0x83)
C:0x0387 3A ADDC A,R2
C:0x0388 F583 MOV DP0H(0x83),A
C:0x038A E4 CLR A
C:0x038B 93 MOVC A,@A+DPTR
C:0x038C 22 RET
C?CLDPTR:
C:0x038D BB0106 CJNE R3,#0x01,C:0396
C:0x0390 8982 MOV DP0L(0x82),R1
C:0x0392 8A83 MOV DP0H(0x83),R2
C:0x0394 E0 MOVX A,@DPTR
C:0x0395 22 RET
C:0x0396 5002 JNC C:039A
C:0x0398 E7 MOV A,@R1
C:0x0399 22 RET
C:0x039A BBFE02 CJNE R3,#0xFE,C:039F
C:0x039D E3 MOVX A,@R1
C:0x039E 22 RET
C:0x039F 8982 MOV DP0L(0x82),R1
C:0x03A1 8A83 MOV DP0H(0x83),R2
C:0x03A3 E4 CLR A
41
C:0x03A4 93 MOVC A,@A+DPTR
C:0x03A5 22 RET
C:0x03A6 C2A6 CLR 0xA0.6
C:0x03A8 D2A7 SETB 0xA0.7
C:0x03AA 7F01 MOV R7,#0x01
C:0x03AC 7E00 MOV R6,#0x00
C:0x03AE E4 CLR A
C:0x03AF FD MOV R5,A
C:0x03B0 FC MOV R4,A
C:0x03B1 C3 CLR C
C:0x03B2 ED MOV A,R5
C:0x03B3 9F SUBB A,R7
C:0x03B4 EC MOV A,R4
C:0x03B5 9E SUBB A,R6
C:0x03B6 5015 JNC C:03CD
C:0x03B8 E4 CLR A
C:0x03B9 FB MOV R3,A
C:0x03BA FA MOV R2,A
C:0x03BB 0B INC R3
C:0x03BC BB0001 CJNE R3,#0x00,C:03C0
C:0x03BF 0A INC R2
C:0x03C0 BA04F8 CJNE R2,#0x04,C:03BB
C:0x03C3 BBFBF5 CJNE R3,#0xFB,C:03BB
C:0x03C6 0D INC R5
C:0x03C7 BD0001 CJNE R5,#0x00,C:03CB
C:0x03CA 0C INC R4
C:0x03CB 80E4 SJMP C:03B1
C:0x03CD 22 RET
C:0x03CE 7FE8 MOV R7,#0xE8
C:0x03D0 7E03 MOV R6,#0x03
C:0x03D2 E4 CLR A
C:0x03D3 FD MOV R5,A
C:0x03D4 FC MOV R4,A
C:0x03D5 E4 CLR A
C:0x03D6 FB MOV R3,A
C:0x03D7 FA MOV R2,A
C:0x03D8 C3 CLR C
C:0x03D9 EB MOV A,R3
C:0x03DA 9F SUBB A,R7
C:0x03DB EA MOV A,R2
C:0x03DC 9E SUBB A,R6
C:0x03DD 5007 JNC C:03E6
C:0x03DF 0B INC R3
42
C:0x03E0 BB0001 CJNE R3,#0x00,C:03E4
C:0x03E3 0A INC R2
C:0x03E4 80F2 SJMP C:03D8
C:0x03E6 0D INC R5
C:0x03E7 BD0001 CJNE R5,#0x00,C:03EB
C:0x03EA 0C INC R4
C:0x03EB ED MOV A,R5
C:0x03EC 64C8 XRL A,#T2CON(0xC8)
C:0x03EE 4C ORL A,R4
C:0x03EF 70E4 JNZ C:03D5
C:0x03F1 22 RET
C:0x03F2 7F38 MOV R7,#0x38
C:0x03F4 120433 LCALL C:0433
C:0x03F7 7F0E MOV R7,#0x0E
C:0x03F9 120433 LCALL C:0433
C:0x03FC 7F01 MOV R7,#0x01
C:0x03FE 120433 LCALL C:0433
C:0x0401 7F06 MOV R7,#0x06
C:0x0403 120433 LCALL C:0433
C:0x0406 7F80 MOV R7,#P0(0x80)
C:0x0408 020433 LJMP C:0433
STRLEN:
C:0x040B E4 CLR A
C:0x040C FF MOV R7,A
C:0x040D FE MOV R6,A
C:0x040E 12038D LCALL C?CLDPTR(C:038D)
C:0x0411 600C JZ C:041F
C:0x0413 0F INC R7
C:0x0414 EF MOV A,R7
C:0x0415 7001 JNZ C:0418
C:0x0417 0E INC R6
C:0x0418 09 INC R1
C:0x0419 E9 MOV A,R1
C:0x041A 70F2 JNZ C:040E
C:0x041C 0A INC R2
C:0x041D 80EF SJMP C:040E
C:0x041F 22 RET
C:0x0420 D287 SETB 0x80.7
C:0x0422 C2A5 CLR 0xA0.5
C:0x0424 D2A6 SETB 0xA0.6
C:0x0426 308709 JNB 0x80.7,C:0432
C:0x0429 C2A7 CLR 0xA0.7
C:0x042B 1203AA LCALL C:03AA
43
C:0x042E D2A7 SETB 0xA0.7
C:0x0430 80F4 SJMP C:0426
C:0x0432 22 RET
C:0x0433 A907 MOV R1,0x07
C:0x0435 120420 LCALL C:0420
C:0x0438 8980 MOV P0(0x80),R1
C:0x043A C2A5 CLR 0xA0.5
C:0x043C 1203A6 LCALL C:03A6
C:0x043F C2A7 CLR 0xA0.7
C:0x0441 22 RET
C:0x0442 A907 MOV R1,0x07
C:0x0444 120420 LCALL C:0420
C:0x0447 8980 MOV P0(0x80),R1
C:0x0449 D2A5 SETB 0xA0.5
C:0x044B 1203A6 LCALL C:03A6
C:0x044E C2A7 CLR 0xA0.7
C:0x0450 22 RET
C:0x0451 787F MOV R0,#0x7F
C:0x0453 E4 CLR A
C:0x0454 F6 MOV @R0,A
C:0x0455 D8FD DJNZ R0,C:0454
C:0x0457 75810F MOV SP(0x81),#0x0F
C:0x045A 020003 LJMP C:0003
C:0x045D 7F01 MOV R7,#0x01
C:0x045F 120433 LCALL C:0433
C:0x0462 7F80 MOV R7,#P0(0x80)
C:0x0464 020433 LJMP C:0433
44
12. CONCLUSION
All ELCBs O/V & U/V in the world need to take a fresh-look at the novel
concept described here to ensure safety of human life under all circumstances.
Arbitrarily increasing the threshold sense limit and reducing possibility of nuisance
tripping endangers human life. Dual limit endanger human life it is also important
to see that for effective operation people working with such equipments should
stand on normal ground only.
O/V & U/V circuit provides safety to the human life from healthy as well as
economical in manner that if short circuit happens than person can get a shock &
he may injured or sometimes he may died if electric shock is very much high and if
there is over voltage or under voltage than the electrical appliances may get
damaged or useless.
45
13. BIBLIOGRAPHY
www.elcb.pdf.@qooqle.co:in
www.o/v & u/v.pdf@google.co.in
www.circuit.ideas.com
www.encyclopedia.com
www.alldatasheet.com
www.wekipedia.com
www.DatasheetCatalog.com
www.microsemi.com
REFERENCE BOOKS
ELECTRICAL INDIA
MAY 2005 VOL:45
JUNE 2006 VOL:45
PRINCIPLES OF ELECTRONICS
BY V.K.MEHTA
NOTE: - Various softwares are used to program the controller and to design a PCB
such are as Express PCB, Electra, target3001_discovere_v14, Keil_uVision.
46