earth leak detector
earth leak detector
A REPORT
Submitted by
KOWSALYA R - 17BEE080
NANNILA K - 17BEE092
SHALINI S - 17BEE110
BACHELOR OF ENGINEERING
DEPARTMENT OF
ELECTRICAL & ELECTRONICS ENGINEERING
KUMARAGURU COLLEGE OF TECHNOLOGY
COIMBATORE 641 049
DECEMBER 2020
2
COIMBATORE 641049
CERTIFICATE
KOWSALYA R - 17BEE080
NANNILA K - 17BEE092
SHALINI S - 17BEE110
ABSTRACT
Protection system’s main function is to clear faults from the power system
system stability. If any current leaks from any electrical installation, there must-
be any insulation failure in the electrical circuit, it must be properly detected and
detects the earth leakage current and makes the power supply off by opening the
One terminal of the relay coil is connected to the metal body of the
to the earth directly. If any insulation failure occurs or live phase wire touches
the metal body, of the equipment, there must be a voltage difference appears
across the terminal of the coil connected to the equipment body and earth. This
voltage difference produces a current to flow the relay coil. If the fault occur it
will display on the LCD and give information through wireless communication.
4
ACKNOWLEDGEMENT
We express our deep sense of gratitude and thanks to our project guide
Dr.UDHAYSHANKAR.C, Prof./EEE, Kumaraguru College of Technology,
coimbatore for his/ her valuable suggestions and support.
KOWSALYA R - 17BEE080
NANNILA K - 17BEE092
SHALINI S - 17BEE110
5
TABLE OF CONTENTS
CHAPTER TITLE PAGE NO.
NO.
ABSTRACT 3
LIST OF ABBREVIATIONS 6
1 INTRODUCTION 7-8
1.1 PROBLEM STATEMENT 7
1.2 FIELD OF THE PROJECT 7
1.3 OBEJCTIVES 7
1.4 ORGANIZATION OF THE REPORT 8
2 PROPOSED SYSTEM 9-19
2.1 BLOCK DIAGRAM OF EARTH 9
LEAKAGE DETECTOR USING
ARDUINO WITH GSM MODEM
2.2 CONFIGURATION OF 10
COMPONENTS
2.3 CIRCUIT DIAGRAM 18
2.4 DESCRIPTION OF THE 19
COMPONENTS
3 IMPLEMETATION 20-21
3.1 ALGORITHM/FLOW CHART 20
3.2 IMPLEMENTATION 21
4 RESULTS AND DISCUSSION 23-25
4.1 SYSTEM SPECIFICATIONS 23
4.2 SIMULATION AND HARDWARE 25
RESULTS
5 CONCLUSION 26-34
5.1 CONCLUSION 26
5.2 FUTURE SCOPE 26
APPENDIX 27
REFERENCES 34
6
LIST OF ABBREVIATIONS
DC - DIRECT CURRENT
AC - ALTERNATING CURRENT
CT - CURRENT TRANSFORMER
CHAPTER 1
INTRODUCTION
2) Lightning,
3) Falling of a tree.
Field : This project is to detect the earth fault and indicate using alarm. It is
very useful in costal area and remote location to find the earth fault.
1.3 OBJECTIVES:
• Protection system’s main function is to clear faults from the power system
at high speed to ensure safety.
8
CHAPTER 2
PROPOSED SYSTEM
The overall block diagram of the Earth Leakage Detector using Arduino with
GSM modem. 1)block diagram of power supply 2)block diagram of control unit
.
STEP DOWN
DIODE
TRANSFORMER
RECTIFIER
AC 220V 220V/12V
AC-DC
7805 FILTER
REGULATOR
LCD DISPLAY
4 5 6 7
En D5 D0 D1 D2 D3
UNIT
ARDUINO
CT1 A0
LOAD
RELAY
UNIT
CT2 A1
Rx GSM
Tx
10
2.2.2 ARDUINO:
Features:
Peripheral features
Parametrics
Number of Comparators 1
13
Pin Count 32
Fig:2.2.2 ARDUINO
An LCD consists of two glass panels, with the liquid crystal material
sand witched in between them. The inner surface of the glass plates are
14
One each polarisers are pasted outside the two glass panels. These
polarisers would rotate the light rays passing through them to a definite
angle, in a particular direction
When the LCD is in the off state, light rays are rotated by the two
polarisers and the liquid crystal, such that the light rays come out of the
LCD without any orientation, and hence the LCD appears transparent.
When sufficient voltage is applied to the electrodes, the liquid crystal
molecules would be aligned in a specific direction. The light rays
passing through the LCD would be rotated by the polarisers, which would
result in activating / highlighting the desired characters.
LCDs have even started replacing the cathode ray tubes (CRTs) used for
the display of text and graphics, and also in small TV applications.
A diode is a device which allows current flow through only one direction.
That is the current should always flow from the Anode to cathode. The
cathode terminal can be identified by using a grey bar as shown in the
picture.
2.2.5 RELAY:
Data, and Fax in a small form factor and with low power consumption.
With a tiny configuration of 24mm x 24mm x 3 mm, SIM900 can fit almost
all the space requirements in your M2M application, especially for slim
and compact demand of design.
2.4 DESCRIPTION:
CHAPTER 3
START
NO
Inputs are given to the arduino
The system
has no fault
Compare
the values
YES
STOP
If CT1>CT2 or
If CT1=CT2
CT1<CT2
Send SMS
21
• Proteus Professional
• Arduino IDE
PROTEUS PROFESSIONAL:
The Proteus Design Suite is a proprietary software tool suite used primarily for
electronic design automation. The software is used mainly by electronic design
engineers and technicians to create schematics and electronic prints for
manufacturing printed circuit boards.
Schematic Capture
Schematic capture in the Proteus Design Suite is used for both the simulation of
designs and as the design phase of a layout project. It is therefore a core
component and is included with all product configurations.
Microcontroller simulation
Full feature (ISIS) schematic capture with support for hierarchical design bus
pins configurable bill of materials and much more, ISIS lies at the heart of the
Proteus system, and is far more than just another schematics package. It
combines a powerful design environment with the ability to define most aspects
of the drawing appearance. Whether your requirement is the rapid entry of
complex designs for simulation and PCB layout, or the creation of attractive
schematics for publication, ISIS is the tool for the job. ISIS supports Object
oriented editor with automatic wire routing and dot placement or removal.
22
ARDUINO IDE:
The open-source Arduino Software (IDE) makes it easy to write code and upload
it to the board. This software can be used with any Arduino board.
The source code for the IDE is released under the GNU General Public License.
The Arduino IDE supports the languages C and C++ using special rules of code
structuring. The Arduino IDE supplies a software library from the Wiring
project, which provides many common input and output procedures. User-
written code only requires two basic functions, for starting the sketch and the
main program loop, that are compiled and linked with a program stub main() into
an executable cyclic executive program with the GNU toolchain, also included
with the IDE distribution. The Arduino IDE employs the program to convertthe
executable code into a text file in hexadecimal encoding that is loaded into the
Arduino board by a loader program in the board's firmware.
CHAPTER 4
Current Consumption 1 mA
Function 16Chr*2lines
24
Input Current 70 mA to 6A
Output Voltage 5V AC
Input voltage 5v DC
CHAPTER 5
5.1 CONCLUSION:
This project is very useful in costal area and remote location to find the
earth fault.
27
APPENDIX
HARDWARE OUTPUT
SOURCE CODE:
#include <LiquidCrystal.h>
#include <EEPROM.h>
LiquidCrystal lcd(13,12,11,10,9,8);
enum _actionState {
AS_IDLE,
AS_WAITING_FOR_RESPONSE
};
unsigned char
EB,unit,amt,EB1,unit1,sec=0,se=0,yy=0,ss=0,ar=0,ae=0,ct,pt,ct1;
unsigned char xx = 0;
void setup()
Serial.begin(9600);
delay(1000);
lcd.begin(20, 2);
lcd.setCursor(0, 0);
lcd.setCursor(0, 1);
29
delay(2000);
lcd.clear();
void loop()
ct = analogRead(A0);
lcd.setCursor(0,0);
lcd.print("CT1:");
Lcd_Decimal3(4,0,ct);delay(50);
ct1 = analogRead(A1);
lcd.setCursor(8,0);
lcd.print("CT2:");
Lcd_Decimal3(12,0,ct1);delay(50);
if(ct>ct1+50)
ar=1;
delay(2000);
send_msg1();
else {
ar=0;
}
30
char x0;
lcd.setCursor(b,a);
lcd.write((val/100)+0x30);
x0=val%100;
lcd.setCursor(b+1,a);
lcd.write((x0/10)+0x30);
lcd.setCursor(b+2,a);
lcd.write((x0%10)+0x30);
lcd.setCursor(com,com1);
Lcd_h=val/100;
Lcd_hr=val%100;
Lcd_t=Lcd_hr/10;
Lcd_o=Lcd_hr%10;
lcd.setCursor(com,com1);
lcd.write(Lcd_h+0x30);
lcd.setCursor(com+1,com1);
lcd.write(Lcd_t+0x30);
lcd.setCursor(com+2,com1);
31
lcd.write(Lcd_o+0x30);
void gsm_init()
lcd.clear();
lcd.setCursor(0, 0);
delay(2000);
delay(1000);
delay(1000);
delay(1000);
lcd.setCursor(0, 0);
delay(1000);
lcd.clear();
void send_msg1()
lcd.setCursor(0,1);
lcd.print("Sending Message");
32
Serial.print("AT+CMGS="); delay(100);
Serial.write('"');
Serial.print("9095599000");
Serial.write('"');
Serial.write(0x0d);Serial.write(0x0a);
delay(1000);
Serial.print("CURRENT 1:");
Serial.println(ct);delay(50);
Serial.println(ct);delay(50);
Serial.print("CURRENT 2:");
Serial.println(ct1);delay(50);
if(ar==0){Serial.println("NORMAL");}
if(ar==1){Serial.println("EARTH
LEAKAGE");Serial.println("LOCATION:MGR NAGAR,NAMAKAL");}
Serial.write(0x0d);Serial.write(0x0a); delay(1000);
lcd.setCursor(0,1);
delay(1000);
lcd.clear();
Lcd_h=val/100;
Lcd_hr=val%100;
33
Lcd_t=Lcd_hr/10;
Lcd_o=Lcd_hr%10;
Serial.write(Lcd_h+0x30);
Serial.write(Lcd_t+0x30);
Serial.write(Lcd_o+0x30);
34
REFERENCES:
[3] Zoolnasri Bin Abu Harun, University Malaysia Pahang, “Over Current
Protection Relay Using PICMicro Controller”, Project report. PP 1-24
[5] “Three Phase Fault Analysis with Auto Reset for Temporary Fault and Trip
for Permanent Fault”,Sathish Bakanagari1, A. Mahesh Kumar2, M. Cheenya3
12(Asst.prof in EEE Department) 3(Asst.Prof in ECE Department) Mahaveer
Institute of Scienceand Technology, bandlaguda, Hyderabad.A.P.