Batch 12 Report
Batch 12 Report
Batch 12 Report
A PROJECT REPORT
Submitted by
R. GOKULPRAKAASH (1919103031)
P. HARISH (1919103035)
BACHELOR OF ENGINEERING
IN
MAY 2023
IOT BASED THREE PHASE POWER
FAILURE MONITORING WITH MOBILE
APP AND NOTIFICATION ALERT
A PROJECT REPORT
Submitted by
R. GOKULPRAKAASH (1919103031)
P. HARISH (1919103035)
BACHELOR OF ENGINEERING
IN
MAY 2023
SONA COLLEGE OF TECHNOLOGY, SALEM
(AUTONOMOUS)
AFFILIATED TO ANNA UNIVERSITY: CHENNAI 600 025
BONAFIDE CERTIFICATE
Certified that this report “IOT BASED THREE PHASE POWER FAILURE
MONITORING WITH MOBILE APP AND NOTIFICATION ALERT” is the
bonafide work of GOKULPRAKAASH R (1919103031) AND HARISH P
(1919103035) who carried out the project work under my supervision.
SIGNATURE SIGNATURE
Dr. R.S. SABEENIAN Dr. M. DHANASU
PROFESSOR , SUPERVISOR
HEAD OF THE DEPARTMENT PROFESSOR,
Salem-636005. Salem-636005.
extend our heartfelt thanks and gratitude to our parents and our beloved college
VALLIAPPA and Shri. THYAGU VALLIAPPA who provided all the facilities
to us.
Dr. S.R.R. SENTHIL KUMAR, for motivating us to do our project and for
offering adequate duration for completing our project. We are also immensely
grateful to our Head of the Department Dr. R.S. SABEENIAN, for his
constructive suggestion and encouragement during our project with deep sense of
gratitude, we extend our earnest and sincere thanks to our project guide
Dr. M. DHANASU, Professor, Department of ECE for his kind guidance and
our family and friends, for all that they meant to us during the crucial times of the
R. GOKULPRAKAASH
P. HARISH
ABSTRACT
the need for systems with robotization and high security are preferred. This is an
advanced system that monitors power failure. There are three phase when any
of the phases detects failure it notifies the concerned authority with the help of
MCU and the wi-fi is connected for configuration purpose. When any of the
phase is dissociated due to failure, TV will indicate and an alarm will be given
by the buzzer. Our system sends announcement to the authorized number about
the disconnected phase. After the phase fault is remedied, the Node MCU and
IoT will stops transferring announcement to the stoner. This work presents the
cover the failure of any of the phases of a three-phase power system and sends
of the system done with the use of Node MCU and IoT. The system continuously
monitors each phase power of the three-phase power force and cautions the
stoner with an announcement, TV display, led, buzzer and blink monitoring app
is also set up therefore guarding the machines from single phasing and protects
i
TABLE OF CONTENTS
ABSTRACT i
LIST OF FIGURES iv
LIST OF TABLES v
1. INTRODUCTION 1
2. LITERATURE SURVEY 2
3. SYSTEM REQUIREMENTS 12
4. PROPOSED SYSTEM 13
4.3.2. Switch 20
4.3.3. Transformer 21
4.3.5. Battery 22
4.3.6. DC Motor 23
ii
4.3.8. Buzzer 27
4.3.9. Relay 28
6. CONCLUSION 41
7. FUTURE WORK 42
8. REFERENCES 43
9. LIST OF PUBLICATIONS 45
iii
LIST OF FIGURES
4.3 Switch 20
4.4 Transformer 21
4.6 DC Motor 23
4.8 Buzzer 27
4.9 Relay 28
iv
LIST OF TABLES
v
LIST OF SYMBOLS AND ABBREVIATIONS
SYMBOLS
A - Ampere
դ - Efficiency
GB - Giga Byte
Hz - Hertz
k - Kilo
kB - Kilo Byte
MΩ - Mega Ohm
mA - Milli-ampere
MB - Mega Byte
ms - Millisecond
V - Potential difference
ABBREVIATIONS
AC - Alternate Current
DC - Direct Current
vi
LCD - Liquid Crystal Display
vii
CHAPTER 1
INTRODUCTION
By utilizing IoT innovation and AI calculations, the framework can give constant
checking, investigation, and finding of force disappointments, permitting
organizations to make remedial moves rapidly and lessen the effect of blackouts.
Non-critical systems can be automatically shut down, power can be redirected,
or maintenance workers can be notified to do repairs. Additionally, the cloud-
based stage permits organizations to get to constant and verifiable information
on power framework execution and create reports to illuminate support and fix
choices.
1
CHAPTER 2
LITERATURE SURVEY
2.1 IoT Based Three Phase Power Monitoring and Failure Using GSM
At the point when one among the three-periods of a framework gets lost, it might
cause a stage misfortune. A "single phasing" loss is caused by a lightning strike,
a downed power line, or mechanical malfunction in switching equipment. The
power outage is monitored by this sophisticated system. We have three phases:
R, Y, and B. When one of the three phases fails, this system sends an SMS to the
authorized person. For configuration purposes, this IoT-based system is
connected to the GSM module. This framework shows the power disappointment
by showing the worth of voltage on the LCD show.
The authorized person is then informed about the disconnected phase via SMS
by this system. A text message is sent to the authorized person's mobile number
when the power is reconnected to the system to notify them that the phase is
operating normally. This is the method by which the authorized individual is
informed of the power outage and is able to resolve the issue.
We discovered that IOT is a very potent and useful idea for the current situation.
This IoT-based technology enables devices to connect to the internet and
facilitates remote device monitoring and management. As the capabilities of
computers and smart phones continue to advance at an ever-increasing rate, so
does the number of people who use the internet.
2
2.2 A Phase Tracking System for Three Phase Utility Interface Inverters
For the phase tracking system of the three phase utility interface inverters, the
phase-locked loop (PLL) system analysis and design are presented. The
optimization technique is taken into consideration for the second order PLL
system as we investigate the dynamic behavior of the closed loop PLL system in
both the continuous and discrete-time domains. In particular, measurement
errors and nonlinear load conditions are used to examine the three-phase PLL
system's performance in distorted utility conditions like phase unbalancing,
harmonics, and offset.
These distorted utility conditions' tracking errors are also derived. The stage
global positioning framework is executed in a computerized way utilizing a
computerized signal processor (DSP) to check the scientific outcomes. Based on
the analytical and experimental findings, the phase tracking system's design
considerations are deduced.
3
2.3 Internal Model Based Smooth Transition of a Three-Phase Inverter
between Islanded and Grid-Connected Modes
AUTHOR: Sara Yazdani, Mehdi Ferdowsi, Pourya Shamsi
This paper presents a new adaptive control structure, based on internal model
control (IMC), which uses multiple models and an inherent islanding detection
method through an optimized switching mechanism to tune the operation of a
three-phase inverter under transitions between islanded and grid tied conditions.
4
2.4 Control Strategy for Grid-Connected Three Phase Inverters during
Voltage Sags to Meet Grid Codes and to Maximize Power Delivery
Capability
AUTHOR: Miguel Andrés Garnica López Luis García de Vicuña Jaume Miret,
Miguel Castilla, Ramón Guzmán
Inverter-based conveyed age assumes an indispensable part in the solidness and
dependability of new power frameworks. These systems must adhere to the
stringent requirements of grid codes to remain connected to the electrical
network during voltage sags. In power electronics research, low-voltage ride-
through control strategies are becoming increasingly common.
5
2.5 Internet-of-Things Based Controller of a Three-Phase Induction Motor
Using a Variable-Frequency Driver
AUTHOR: Guo-Ming Sung, Yen-Shih Shen, Lelisa Teso Keno, Chih-Ping Yu
Using a variable-frequency driver and an ESP8266 Node MCU Dev Kit board,
this paper proposes an Internet-of-Things-based controller to control and
monitor the speed, vibration, and temperature of a three-phase induction motor
(IM).
A mobile app can be used to control the IM's rotation speed by varying its source
current through IEEE 802.11 Wi-Fi computer communication. Additionally, the
IM's temperature, humidity, and vibration can all be monitored simultaneously
with the help of the DHT22 and SW-420 sensors. The detecting information are
communicated to the cloud server in constant over the Web. As a result, the
mobile app can access and monitor the IM's status. After investigation, the IM
can be controlled off assuming an irregularity exists in the information. Through
a Wi-Fi network, all of the functions that were designed are tested and verified
remotely. The experimental results indicate that the IM's speed is successfully
controlled. As a result, controlling IM from a distance using Wi-Fi networks is
simple, dependable, and adaptable.
6
2.6 Monitoring Parameters of Three-Phase Induction Motor Using IoT
AUTHOR: Ekkawach Noyjeen, Chattapon Tanita, Nattha Panthasarn, Pakpoom
Chansri
The Internet of Things (IoT), which keeps things connected effectively, is
rapidly advancing technology. In this paper, the plan of IoT innovation is
introduced to screen and analyze the execution of a three-stage enlistment engine
and recording basic working boundaries. An Internet of Things-based platform
is one of the options for gathering and analyzing induction motor parameters.
Sensors like voltage sensors, current sensors, temperature sensors, and vibration
sensors make up the parameters. Using the MIT application, this data can be
stored in the cloud, accessed through web pages, and displayed on a smartphone.
When performance exceeds limits, it will be informed promptly. An induction
motor can be examined immediately to prevent motor downtime and save money
and time. The benefits of checking acceptance engine by utilizing IoT are notice
for shortcoming ready and authentic information for prescient upkeep.
The industrial sector is currently using a lot of electrical energy, which is driving
up the price of energy. It likewise affects electrical gear. Particularly, huge three-
stage enlistment engine is the generally well known engine for driving modern
hardware what's more, creation framework. A three-phase induction motor's
advantages include self-starting, durability, a high power factor, and low cost
without sacrificing performance [1]. There is a three-phase power fault that is
not symmetrical, a voltage that is out of balance, an overvoltage, an overload, or
a mechanical fault like a broken rotor shaft, an air gap problem, or bearing
damage. This might cause a vibration and a boisterous which harms the stator
winding [2]. Therefore, electrical and mechanical factors determine an induction
motor's efficiency.
7
2.7 Real-Time Wireless Monitoring for Three Phase Motors in Industry: A
Cost-Effective Solution using IoT
AUTHOR: Talha Ahmed Khan, Faraz Ahmed Shaikh, Sheroz Khan, M Farhan
Siddiqui
Performance capabilities and their requirements for corporate clients and the
industrial sector are rapidly expanding in today's modern environment.
Automation and evaluation in networks, artificial intelligence, data sensing, data
mining, and big data are all areas in which the Internet of Things (IoT) is an
innovative and rapidly expanding field. Different industrial processes are
frequently monitored and controlled by these systems.
Due to their flexibility and low cost, Internet of Things (IoT) systems are used
in a variety of industries. In this paper, we created a system that uses a wireless
network to monitor the current reading of a three-phase motor in real time. Data
can be saved, monitored, and transferred to cloud storage using this system. This
system is made up of an Arduino-UNO board, an ACS-712 current sensor, and
an ESP-8266 Wi-Fi module that sends data to an IoT API service called THING-
SPEAK, which acts like a cloud for monitoring data from various sensors.
8
2.8 A Review of Three-Phase Improved Power Quality AC–DC Converters
9
2.9 Grid Current Regulation of a Three-Phase Voltage Source Inverter with
an LCL Input Filter
A voltage source inverter (VSI) is connected to the supply network via a filter in
many grid-connected power electronic systems, such as STATCOMs, UPFCs,
and distributed generation system interfaces. The switching harmonics that enter
the distribution network are reduced by this filter, which typically has a series
inductance. A LCL network is an alternative filter that can reduce harmonic
distortion at lower switching frequencies and with less inductance, making it
suitable for higher power applications. Systems with LCL filters, on the other
hand, necessitate more intricate control strategies and are uncommonly discussed
in the literature.
A solid plan for controlling the grid current entering a distribution network from
a three-phase VSI system connected via an LCL filter is presented in this paper.
In order to maintain system stability, the strategy combines inner capacitor
current regulation with an outer loop grid current regulator. The outer grid
current control loop is implemented with a synchronous frame PI current
regulation strategy. The control algorithm's stability under a variety of operating
conditions is confirmed through linear analysis, simulation, and experimental
findings.
10
2.10 A THREE-PHASE POWER FLOW METHOD FOR REAL-TIME
DISTRIBUTION SYSTEM ANALYSIS
While still maintaining the high execution speed required for real-time
application in distribution automation systems, the proposed method is able to
address these modeling issues. The paper likewise incorporates test results from
the utilization of a PC program created in view of the proposed technique to
enormous essential electric dissemination frameworks.
A robust and effective power flow solution method is needed for a lot of
distribution automation real-time application programs. A power flow solution
method of this kind needs to be able to accurately model the particular
characteristics of distribution systems. The most prominent characteristics of
electric distribution systems include: Structure that is radial or close to it Multi-
phase, unbalanced, grounded, or ungrounded operation Dispersed generation
Multi-phase, multi-mode control distribution equipment Distributed loads that
are not balanced extremely many branches Nodes. Some power stream strategies
that could manage ~ome of these elements have previously been created [l-51.
The system admittance matrix and an iteration scheme analogous to Newton-
Raphson power flow are the foundations of one type of these algorithms [4, 5].
11
CHAPTER 3
SYSTEM REQUIREMENTS
12
CHAPTER-4
PROPOSED SYSTEM:
Smart switches that are installed at various points in the electrical system, such
as the transformer, circuit breakers, and distribution panels, could be used in a
proposed switch-based system for three-phase power failure diagnosis and
monitoring.
There are a number of advantages to the proposed switch-based system over the
current one. It can automatically switch to backup power and monitor and
analyze the electrical system in real time. This saves maintenance personnel time
and money by reducing the need for manual monitoring and inspection. Because
it does not require specialized knowledge or expertise in IoT technology, the
system is also relatively simple to set up and maintain.
However, there are some potential drawbacks to keep in mind. The system may
not have the same level of data analytics and reporting capabilities as an IoT-
based system and may not be as adaptable or scalable. The utilization of brilliant
switches may likewise require extra interest in new hardware or retrofitting
existing gear. Additionally, proper data privacy and security measures should be
implemented because the system may be susceptible to cyberattacks or other
security breaches.
13
4.1.1ADVANTAGES:
14
S.NO COMPONENT NAME FEATURES
15
4.2 BLOCK DIAGARM:
TRANSFORMER
SWITCH 1 BUZZER
NODE MCU
SWITCH 2 LCD DISPLAY
MOTOR
MOTOR RELAY NOTIFICATION
16
4.3 BLOCKDIAGRAM EXPLANTION:
There are designs for open-source prototyping boards and an open source
firmware for the NodeMCU. The term "NodeMCU" is a combination of the
words "node" and "MCU" (micro-controller unit). [Citation needed]
Specifically, the term "NodeMCU" refers to the firmware rather than the
development kits that are associated with it. Both the designs for the prototyping
boards and the firmware themselves are open source
[Citation needed] The firmware makes use of the Lua scripting language. The
Espressif Non-OS SDK for ESP8266 serves as the foundation for the firmware,
which is based on the eLua project. It uses a lot of open source projects, like lua-
17
cjson [9] and SPIFFS[10]. Users have to choose the modules that are right for
their project and make a firmware that fits their needs. Additionally, 32-bit
ESP32 support has been implemented.
A circuit board known as a dual in-line package (DIP) is typically used for
prototyping. It combines a USB controller with a smaller surface-mounted board
containing the MCU and antenna.
Breadboard prototyping is made simple by choosing the DIP format. The Wi-Fi
SoC integrated with a ten silica Xtensa LX106 core, which is widely utilized in
IoT applications (see related projects), served as the initial basis for the design.
Node MCU was. Node MCU was launched on October 13, 2014, when
developer Hong committed the first file of node MCU-firmware to GitHub.
Two months later, Huang R committed the Gerber file of an ESP8266 board,
which was named devkit v0.9. Later that month, Tuan PM ported the MQTT
client library from Contiki to the ESP8266 SoC platform, and committed it to
the Node MCU project. Node MCU was then able to support the MQTT I One
more significant update was made on 30 Jan 2015, when Devsaurus ported the
u8glib [16] to the Node MCU project, [17] empowering Node MCU to handily
drive LCD, Screen, OLED, even VGA shows. The firmware project was taken
over by a group of independent contributors in the summer of 2015. The original
creators left the project in that summer. The Node MCU had more than 40
different modules by the summer of 2016.
Node MCU provides access to the GPIO (General Purpose Input/Output) and a
pin mapping table is part of the API documentation.
18
I/O index ESP8266 pin
0 [*] GPIO16
1 GPIO5
2 GPIO4
3 GPIO0
4 GPIO2
5 GPIO14
6 GPIO12
7 GPIO13
8 GPIO15
9 GPIO3
10 GPIO1
11 GPIO9
12 GPIO10
19
D0 (GPIO16) can only be used for GPIO read/write. It does not support open-
drain/interrupt/PWM/I²C or 1-Wire
.
4.3.2 SWITCH :
Fig.4.3 Switch
The most common type of switch is an electromechanical device made up
of one or more sets of movable electrical contacts connected to external
circuits. In electrical engineering, a switch is an electrical component that
can disconnect or connect the conducting path in an electrical circuit,
interrupting the electric current or diverting it from one conductor to
another.[1][2] At the point when a couple of contacts is contacting current
can pass between them, while when the contacts are isolated no current
can stream. There are many different ways to make switches; they could
have a single knob or actuator that controls multiple sets of contacts, and
the contacts could work simultaneously, sequentially, or alternately. A
switch can be operated manually, like a light switch or a keyboard button,
or it can serve as a sensing element, like a thermostat, to measure the
temperature, pressure, or level of a liquid or machine part.
The toggle switch, rotary switch, mercury switch, push-button switch,
reversing switch, relay, and circuit breaker are just a few of the many
specialized types of switches. Controlling lighting is a common use, and
multiple switches can be wired into a single circuit to make it easy to
control light fixtures. High-powered circuit switches must be constructed
specifically to prevent destructive arcing when opened.
The most familiar form of switch is a manually operated
electromechanical device with one or more sets of electrical contacts,
20
which are connected to external circuits. Each set of contacts can be in one
of two states: either "closed" meaning the contacts are touching and
electricity can flow between them, or "open", meaning the contacts are
separated and the switch is non conducting. The mechanism actuating the
transition between these two states (open or closed) is usually (there are
other types of actions) either an "alternate action" (flip the switch for
continuous "on" or "off") or "momentary" (push for "on" and release for
"off") type.
A switch may be directly manipulated by a human as a control signal to a
system, such as a computer keyboard button, or to control power flow in
a circuit, such as a light switch.
4.3.3 TRANSFORMER
The transformer in the simplest way can be described as a thing that steps
up or steps down voltage. In a step-up transformer, the output voltage is
increased and in a step-down transformer, the output voltage is decreased. The
step-up transformer will decrease the output current and the step-down
transformer will increase the output current for keeping the input and the output
power of the system equal.
4.3.5 BATTERY
A battery is a source of electric power that powers electrical devices
and is made up of one or more electrochemical cells with connections to the
outside [1]. The positive terminal of a battery is called the cathode, and the
negative terminal is called the anode [2]. The negative terminal is the source of
electrons that will flow to the positive terminal through an external electric
circuit.
22
Primary batteries, also known as "disposable" or "single-use," are used once and
thrown away because the electrode materials change irreversibly during
discharge; a typical model is the basic battery utilized for spotlights and a huge
number of convenient electronic gadgets.
From tiny cells that power hearing aids and wristwatches to enormous battery
banks the size of rooms that supply standby or emergency power to telephone
exchanges and computer data centers, batteries come in a variety of shapes and
sizes. Compared to common fuels like gasoline, batteries have a much lower
specific energy (energy per unit mass). This is partially compensated for in
automobiles by electric motors' superior efficiency in converting electrical energy
into mechanical work in comparison to combustion engines.
4.3.6. DC MOTOR
Fig.4.6 DC Motor
23
A DC motor is an electrical device that converts electrical energy into
mechanical energy. It is a type of motor that runs on direct current (DC) and is
used in a wide range of applications, from household appliances to industrial
machinery.
DC motors consist of two main parts: a stator and a rotor. The stator is the
stationary part of the motor that contains the magnetic field, and the rotor is the
rotating part that carries the electrical current. When electrical current flows
through the rotor, it interacts with the magnetic field of the stator, producing a
torque that causes the rotor to rotate.
DC motors have several advantages over other types of motors, including high
torque and speed control, easy to use and control, and relatively low cost. They
are commonly used in applications that require precise speed control, such as
robotics, CNC machines, and electric vehicles.
In summary, DC motors are electrical devices that convert electrical energy into
mechanical energy and are used in a wide range of applications. They consist of
a stator and rotor, come in different types and configurations, and have several
advantages over other types of motors.
24
4.3.7 LCD DISPLAY:
They use the same basic technology, except that arbitrary images are made from
a matrix of small pixels, while other displays have larger elements. LCDs can
either be normally on (positive) or off (negative), depending on the polarizer
arrangement. For example, a character positive LCD with a backlight will have
black lettering on a background that is the color of the backlight, and a character
negative LCD will have a black background with the letters being of the same
color as the backlight. Optical filters are added to white on blue LCDs to give
them their characteristic appearance.
25
LCDs are used in a wide range of applications, including LCD televisions,
computer monitors, instrument panels, aircraft cockpit displays, and indoor and
outdoor signage. Small LCD screens are common in LCD projectors and portable
consumer devices such as digital cameras, watches, calculators, and mobile
telephones, including smartphones. LCD screens have replaced heavy, bulky and
less energy-efficient cathode-ray tube (CRT) displays in nearly all applications.
The phosphors used in CRTs make them vulnerable to image burn-in when a
static image is displayed on a screen for a long time, e.g., the table frame for an
airline flight schedule on an indoor sign. LCDs do not have this weakness, but are
still susceptible to image persistence.
The LCD uses technology called electro-optical modulation. This means it uses
electricity to change how much light passes through it.
Each pixel (block) of an LCD is made of a thin layer of molecules between two
electrodes and two polarizing filters. The electrodes provide electric power to the
liquid crystal layer, and don't block the light. Light travels with 'polarity' or
direction, and a polarizing filter only lets light with one kind of polarity to go
through it, like trying to slide a ruler through a narrow opening. Only when the
ruler is lined up right, will it fit.
These two filters are perpendicular to one another, so the narrow openings are in
different directions. This means that without the liquid crystals between them,
they would block all light from passing through – whatever light gets through the
first filter will not fit through the second filter.
26
4.3.8 BUZZER:
Fig.4.8 Buzzer
27
4.3.9 RELAY
Relays can be controlled using various types of input signals, including digital
signals, analog signals, and even other relays. They are often controlled by
28
microcontrollers, such as those found in the Arduino board, which can send
signals to the relay to turn it on or off.
With Blynk, you can create custom interfaces on your smartphone or tablet to
interact with your IoT devices and sensors. The platform supports a wide range of
hardware, including Arduino, Raspberry Pi, ESP8266, and many more. It provides
a user-friendly drag-and-drop interface builder, making it simple to design and
customize the control panels for your IoT projects.
The Blynk app offers a wide range of widgets and features that you can use to
control and monitor your devices. These include buttons, sliders, gauges, graphs,
and notifications. You can create buttons to turn devices on or off, sliders to adjust
parameters, and gauges to display sensor data in real-time. Blynk also supports
data logging, allowing you to store and analyze historical data from your IoT
devices.
One of the key features of Blynk is its cloud-based infrastructure. When you create
an account on the Blynk platform, you get access to a cloud server that acts as a
29
mediator between your app and your hardware. This means you can control your
devices remotely, even if they are on a different network or in a different location.
The Blynk cloud server securely handles the communication, ensuring your data
is transmitted safely.
In summary, Blynk is an IoT platform that simplifies the process of creating and
controlling connected projects. It offers a mobile app with a drag-and-drop
interface builder, a wide range of widgets, and a cloud-based infrastructure for
remote access and communication. With Blynk, you can quickly prototype and
deploy your IoT projects without the need for extensive coding knowledge.
The IDE consists of a text editor for writing code, a message console for
displaying messages and debugging information, and a toolbar for accessing
various programming and upload options. The text editor provides features such
as syntax highlighting, auto-completion, and code templates that make it easier
for programmers to write and edit code.
Once the code is written, it can be uploaded to the Arduino board using a USB
cable or wireless connection. The IDE includes a built-in serial monitor that
allows the programmer to communicate with the board and display real-time data
and information.
31
Overall, an IoT-based system provides a more efficient and effective method for
monitoring and diagnosing power outages. This can increase the electrical system's
reliability and safety while also cutting down on downtime and costs associated with
maintenance.
DISADVANTAGES:
32
Maintenance: An IoT-based framework requires customary upkeep and updates to
guarantee that it keeps on working appropriately. This might necessitate investing in
hardware, software, and maintenance staff in addition to additional resources.
33
bool b2v;
bool b3v;
void btn_read();
String msg = "";
// Your WiFi credentials.
// Set password to "" for open networks.
char ssid[] = "wifi";
char pass[] = "123456789";
BlynkTimer timer;
char auth[] = BLYNK_AUTH_TOKEN;
void setup() {
// put your setup code here, to run once:
Serial.begin(9600);
34
void loop() {
// put your main code here, to run repeatedly:
Blynk.run();
// Blynk.virtualWrite(V5, msg );
btn_read();
if (b1v != pressed && b2v != pressed && b3v != pressed ) {
Serial.println("Totally Power Off");
Blynk.logEvent("3_phase", "Totally Power Off");
msg = msg + "a";
digitalWrite(buzzer, HIGH);
lcd.clear();
lcd.backlight();
lcd.print("3 PHASE");
lcd.setCursor(1, 1);
lcd.print("Totally Poweroff");
delay(1000);
} else if (b1v == pressed && b2v == pressed && b3v == pressed ) {
// Serial.println("Totally Power Off");
// msg = msg + "a";
// Firebase.setString(firebaseData, "/mine/labour/temp", "a");
lcd.clear();
lcd.backlight();
lcd.print("3 PHASE");
lcd.setCursor(1, 1);
lcd.print("All Phase On");
digitalWrite(motor, HIGH);
Serial.println("motor ON");
35
digitalWrite(led, HIGH);
digitalWrite(buzzer, LOW);
delay(1000);
} else {
button_logic_a();
button_logic_b();
button_logic_c();
digitalWrite(motor, LOW);
delay(1000);
}
}
void button_logic_a()
{
if (b1v != pressed ) {
Serial.println("Phase 1 Off");
msg = msg + "Phase 1 Off";
Blynk.logEvent("3_phase", "Phase 1 Off");
// Firebase.setString(firebaseData, "/mine/labour/temp", "a");
lcd.clear();
lcd.backlight();
lcd.print("3 PHASE");
lcd.setCursor(1, 1);
lcd.print("Phase 1 Off");
digitalWrite(motor, LOW);
Serial.println("motor OFF");
digitalWrite(led, LOW);
digitalWrite(buzzer, HIGH);
36
delay(1000);
}
}
void button_logic_b()
{
if ( b2v != pressed ) {
Serial.println("Phase 2 Off");
msg = msg + "b";
Blynk.logEvent("3_phase", "Phase 2 Off");
lcd.clear();
lcd.backlight();
lcd.print("3 PHASE");
lcd.setCursor(1, 1);
lcd.print("Phase 2 Off");
digitalWrite(motor, LOW);
Serial.println("motor OFF");
digitalWrite(led, LOW);
digitalWrite(buzzer, HIGH);
delay(1000);
}
}
void button_logic_c()
{
if ( b3v != pressed ) {
Serial.println("Phase 3 Off");
msg = msg + "c";
Blynk.logEvent("3_phase", "Phase 3 Off");
37
lcd.clear();
lcd.backlight();
lcd.print("3 PHASE");
lcd.setCursor(1, 1);
lcd.print("Phase 3 Off");
digitalWrite(motor, LOW);
Serial.println("motor OFF");
digitalWrite(led, LOW);
digitalWrite(buzzer, HIGH);
delay(1000);
}
}
void btn_read() {
b1v = digitalRead(b1);
b2v = digitalRead(b2);
b3v = digitalRead(b3);
delay(1000);
}
38
CHAPTER 5
39
Fig.5.3 Indication in Blynk IOT App
40
CHAPTER-6
CONCLUSION:
offer insights into power usage patterns and real-time power failure monitoring
and diagnosis. The system can identify power outages, notify relevant parties, and
reactive maintenance. The system can anticipate potential issues and alert
maintenance teams to take corrective action prior to power failures, rather than
waiting for them to occur. By reducing downtime and avoiding the need for
monitoring system can improve the reliability and effectiveness of power supply
systems, reduce energy waste, and optimize power usage for businesses.
41
CHAPTER-7
FUTRUE ENHANCEMENT:
An IoT-based three-phase power failure monitoring system may benefit from the
following future enhancements:
Prescient Upkeep: By analyzing previous data and identifying patterns that may
result in future failures, the system can be designed to anticipate power outages
before they occur. This may assist in minimizing downtime and repair costs.
Learning by machine: Analyzing the sensor data and identifying power supply
anomalies can be done with the help of machine learning algorithms. The
framework can be prepared to recognize the main driver of force disappointments
and give proposals to settling them.
Connectivity to the Smart Grid: The framework can be incorporated with shrewd
lattice innovation to improve power utilization and decrease energy squander.
Power consumption can be dynamically adjusted in response to supply and
demand.
Integration with Sources of Renewable Energy: The system can be made better to
make it easier to integrate with renewable energy sources like wind and solar
power. In order to maximize power use and reduce waste, this may include
monitoring storage and generation systems.
42
REFERENCE:
4. "An IoT-based Smart Grid System for Fault Detection and Diagnosis"
by Hu, S., Liu, C., & Shi, X. (2020). IEEE Access, 8, 71067-71077.
https://ieeexplore.ieee.org/document/8994442
43
International Journal of Energy Research, 45(11), 17272-17291.
https://onlinelibrary.wiley.com/doi/abs/10.1002/er.6978
44
CONFERENCE CERTIFICATES:
R. GOKULPRAKAASH (1919103031)
45
P. HARISH (1919103035)
46