You are on page 1of 6

2020 International Conference on Computer Science and Software Engineering (CSASE), Duhok, Kurdistan Region – Iraq

IoT Based Water Tank Level Control System Using


PLC
Methaq A. Ali Abbas Hussein Miry Tariq M. Salman
Electrical Engineering Department Electrical Engineering Department Electrical Engineering Department
Mustansiriyah University Mustansiriyah University Mustansiriyah University
Basra, Iraq Baghdad, Iraq Baghdad, Iraq
Methaq.ali2006@gmail.com abbasmiry83@uomustansiriyah.edu.iq tariq.salman@uomustansiriyah.edu.iq

Abstract—Internet of Things (IoT) has been widely used in link the physical objects to the gateway, as shown in Fig. 1
various applications such as health and safety, smart homes, Moreover, the use of wireless communication systems leads
greenhouses, and industrial application. It has been increasingly to eliminate a large number of cables and subsequently will
utilized in the industry owing to its benefits in terms of reduce the probability of faults, especially in large industrial
enhancing the overall performance of a given system. There is a
systems. It can be created by using many communication
need to engage the IoT technology to meet the requirements in
many local industries, especially in developing countries. This techniques like NodeMCU (Node Microcontroller) Unit,
can be formulated as having an effective automation system that ZigBee, WAN (Wide Area Network), Nano station,
monitors all essential parts of the system and responds to it in Bluetooth. Controllers are an essential part in IoT since they
the real-time of all sensitive physical variables on the system. used in two issues first one is with physical objects to convert
This is called the Industrial Internet of Things (IIoT). In this it from inactive to active objects (intelligent devices have
paper, a prototype system has been implemented for artificial unique identification) in other words it works as an embedded
control and monitoring using IoT. The article includes two system. The second issue to work as the main controller to
control systems executed: classical PID (Proportional Integral make the computational and processing of a given process
Derivative) and fuzzy logic with a comparison between them.
and gathering the object's signals in some IoT systems.
Fuzzy control is first simulated using MATLAB-R2018b then
developing a fuzzy algorithm based on Sugeno method inside Where in other IoT systems, the signals of objects connected
PLC (Programmable Logic Controller). The connection of PLC directly to the internet and processing operations carried out
with OPC (Object Process Control) server and sensors is used in the cloud. Involve the things directly to the cloud or
by the Modbus protocol. The IoT system is designed to utilize transient through the local main controller depends on the
the OPC and MQTT (Message Queuing Telemetry Transport), importance and complexity of the process and availability
and the obtained data will be uploaded to the cloud. ESP8266 is and stability of internet services in the region of application.
used to connect the sensors to the router through wireless The water level has been used as a case study to prove the
communication. work of the system whereas it is possible to work with any
other process such as temperature or pressure by making
Keywords— IoT, OPC Server, MQTT, PLC, Ubidots.
some changes to the settings [3].
I. INTRODUCTION The rest of the paper is structured as follows. Section II
The IoT is an intelligent technology to provide large
applications in health, environment, transport systems
monitoring, and other commercial areas. The main sections
of IoT are internet, semantics, and objects-oriented vision that
improve communication networks significantly. The IoT is a
network that comprises sensors, physical devices, software,
sharing storage and connectivity of the internet that empower
these things to a collection, recording, manage and exchange
data [1]. Many approaches are useful to monitor and control
industrial processes such as PLC, SCADA, wireless sensor
network (WSN), and the IoT, etc. PLC used by many
automation processes in industries to increase quality and
reliability and reduce the production cost. In the present, IoT
is the more convenient approach for monitoring industrial
process. It is consist of embedded systems and
communication systems in such a way industrial equipment’s
with the assistance of wireless sensor network and devices are
connected to the internet, or industrial applications can be Fig. 1. General Layout of Communication in an IoT System
monitored and controlled through laptops and mobiles [2].
The IoT facilities the connection of physical objects such as presents the most relevant studies related to this study.
sensor's actuators to the Internet. The use of wireless Section III explains our proposed system and section IV
communication in the IoT system, increased the simplicity to describes the design and implementation of the prototype

978-1-7281-5249-3/20/$31.00 ©2020 IEEE 7

Authorized licensed use limited to: University of Exeter. Downloaded on July 17,2020 at 11:56:28 UTC from IEEE Xplore. Restrictions apply.
2020 International Conference on Computer Science and Software Engineering (CSASE), Duhok, Kurdistan Region – Iraq

system. Section V concludes the test results and validation of A. Sensors Layer
this system. Finally, some conclusions and future works are The first layer in this system is the sensor's layer, which
given in section VI. represents the things, or population of IoT, and it is
considered the base level of IoT. There are a lot of sensors
II. LITERATURE SURVEY and actuators, which interrelate with the machinery, in an
The authors in [4], designed an IoT system to respond for industrial IoT setup. Each machine in the industry usually has
temperature sensor via Arduino. They used the Xively multiple sensors to tracking its healthy state and monitors the
platform to visualize the uploaded data, and then the data key parameters associated with the production. The sensor
downloaded by using the formalism of Petri nets from the and actuator are responsible for obtaining the data or
cloud to PLC through the OPC server and Lab View. In [2], controlling switches via a pre-defined configuration; each is
the authors implemented an IoT network to monitor several combined with a microcontroller. The sensor node is a
industrial parameters like energy, D.C-motor speeds microcontroller attached with sensors, powered with a radio.
controlling, PLC based liquid level, and PLC-based colour They are a self-contained, deploying unit, which releases the
mixer by IoT. In [5], used IoT to monitoring ICRH DAC data generated from sensors. The sensor node has not
system. They use Experimental Physical Industrial Control processed the data locally since it does not have enough
System (EPICS) as an interface between PLC and computer processing ability and memory. A low-energy wireless
for the design of web page, they used HTML5 & CSS, and communication network is utilized that is represented by the
for Graphical User Interface (GUI) they used CSS BOY OPI. ESP8266 to send the sensors data to a central controller [13].
The authors in [6] introduced IoT to control and to Three types of sensors have been employed in the project
monitor the factory of a stack of pucks. They used PLC and application; these sensors are essential for simulating the
Node-red and MQTT protocol to connect with tow platforms system. The DC motor is the core of the project so, it has been
(Ubidots & IBM) and then made a comparison for their to add sensors to control and monitoring it to ensure the
latency. The authors in [7], developed a prototype for a smart persisting of system operation. The selected physical
home system to monitoring and control some of the home variables for the application where are a reservoir water level,
appliances by IoT. They used Arduino and ESP8266 for Wi- river level, and motor current.
Fi connection. The authors in [8] introduced the IoT system
Liquid level control system using PLC has been employed in
with real-time monitoring of the water level of the river. They
managing and monitoring the water level for the tank. It
made an alarm message to the cloud server in addition to
returns the real-time reading of water level inside the tank.
social media. The used Arduino with ultrasonic water level
Two types of water level sensors were used in this project:
sensor in their proposed system.
VL53LOX (time of flight-micro-lidar distance sensor) and
The Authors in [9], were introduced digital PLC system HC-SR04 (ultrasonic distance sensor). This is because it has
remote access based on android for remote access and control to use two pails of water: one used to simulate the river and
and supervise on the temperature process managed by PID the other to simulate the receiving storage tank.
controller. The researchers in [10] designed and implemented
River's water level is required for DC motor operation
a sensor system to be used in IoT for environment condition
interlock, in the absence of this sensor may lead to DC motor
and home power management monitoring. The system
will be staying in continuous operating. However, the river
proposed an approach for safety and comfort when residence
level is low or very low. The very low of the river's water
away from home for a long time. In [11], a prototype of IoT
level lead to severe operation since it will reduce the cooling
based system for monitoring and control water level system
of the impeller of DC motor. The sensor is used to simulate
for the smart village was proposed. The proposed system
switches, and it can be adjusting HC-SR04-(ultrasonic)
comprises from the water level analogue sensor and Arduino
sitting easily from its controller ESP8266 to isolate the engine
Uno controller along with Arduino shield. The authors in
and prevent mix of air bubbles with water from the entrance
[12], submitted a water quality monitoring system in real-
to motor pump as a result to river water low level. This may
time. They implemented prototype low cost, smart water
lead to overheating the pump and consequently, vibration in
monitoring with less complex for measuring essential water
the mechanical system. The sensitivity of HC-SR04 is 1 cm;
parameters such as pH, turbidity, and conductivity and
then, it does not need exact accuracy for these measurements.
measured the water level of the sample. The proposed system
Other benefits of using HC-SRO4 are the monitoring of river
used TI CC3200 as the main controller connected to the
water level and utilize the accumulated data for the year,
Internet through hotspot Wi-Fi. The literary survey
which can help us to define the period of very low water level
concluded the importance of the use of IoT technology.
and make the necessary precautions. The other pail is
However, this paper combined the IoT and artificial
(receiving storage tank) the sensor selecting for this position
intelligence (Fuzzy) along with the use of an industrial
requires more precision because it reads value used for Fuzzy
controller represented by PLC. As a result, this combination
Logic system process. Where error and change of error are
led to an efficient control system in addition to the benefit of
depended on their readings, this is why we selected
power saving.
VL53LOX. The sensitivity of T.O.F VL53LOX Laser is
III. RESEARCH METHOD about 3mm.
The proposed system layers framework consists of five DC sensor is so important in this project since it enables
layers, as shown below: operator monitoring of the motor current. It is as well could
be monitored by cloud and make alarm or trip as the value

Authorized licensed use limited to: University of Exeter. Downloaded on July 17,2020 at 11:56:28 UTC from IEEE Xplore. Restrictions apply.
2020 International Conference on Computer Science and Software Engineering (CSASE), Duhok, Kurdistan Region – Iraq

exceeding the threshold and protect a DC motor coil from D. Gateway Layer
damage produced from the exceeded current that causes It represents a physical device or software program that
rising for coil temperature. To resolve this problem, INA219 serves as the connection point between the cloud and
has been used; it is compatible with the Arduino controller controllers, sensors and intelligent devices. Another benefit
and can provide voltage and power in addition to current. The of an IoT gateway is that it can provide additional security for
use of the current sensor has another benefit in fault analytic the IoT network and the data it transports.
issue where the history of the motor current is significant to
Making the networking relied on current devices is in this
define the causes of failures and take the precautions to
case big challenge since machines from different
prevent defects in the future.
corporations and at distinct technological levels generally,
B. Network Layer do not communicate with similar data language. An
The network layer is essential for the project of the IoT intelligent gateway that harmonizes communication between
system since it is the layer responsible for connecting altered data sources is analyzed and transfers data to suitable
physical sensors utilizing MODBUS TCP/IP that is the most recipients. The Gateway of IoT that can accept and process
critical IoT protocol [14]. the data from a PLC, and after that used to store the
processing data from the PLC to the Cloud platform and then,
The MODBUS protocol describes a simple protocol data
it controls real devices remotely through the web
unit (PDU) independently of the basic communication layers.
applications.
The mapping of MODBUS protocol on definite buses or
networks can return some additional fields on the application As a standard used for interoperability between industrial
data unit (ADU) [15]. The connecting between different machine's software, OPC specifications describe the
devices using MODBUS protocol requires well knowledge in communication of objects and interfaces of OPC servers. The
this protocol, and the memory specified address of each standard for access to data issued earlier by OPC foundation,
device and how to convert its address to MODBUS address. define costume interfaces for automation and other details,
the vital matter is an attempt to access real-time data for local
The structure or the topology of the proposed IoT system
devices. As long as the service's interfaces and clients access
is a star topology. In a star topology, each IoT device is
to the interfaces are accurately agreed with the specifications,
directly connected to a central hub (gateway) that
it can guarantee data transfer with high efficiency [4].
communicates the data from the connected devices upstream.
Wi-Fi is standard wireless networks based on IEEE MQTT is a straightforward and lightweight's protocol for
802.11a/b/g/n specifications. The communication method messaging. It's published/subscribed for construction is
used for proposed IoT system devices is 802.11g, and for intended to be open and straightforward to achieve, with up
power consumption reasons, the chip ESP8266 has been to Hundreds of distant clients capable of being propped by an
used. individual server. [17].
C. Processing Layer E. Cloud Layer
There are two parts of the processing; one inside the local It is a Facility for managing, storing accessing the data via
controller, or in Programmable logic control (PLC) which the Internet. Cloud in this context meaning a large number of
considered the complex processing represented by fuzzy devices connecter through the network that depends primarily
logic control. The other processing is in the cloud platform on the virtual computing in submitting its services where each
which represents the data collection, monitoring, and control of these computers is connected has tasks of multiple virtual
for the entire system, including store the alarms and events devices for achieving cost minimizing.
and builds up of cloud computing and settings by using the Cloud computing addresses the issues with remote data
logical computing in Ubidot's platform. Fuzzy logic control storage; for example, the cost and capacity required to store
fashion has been adapted for controlling the given process. big data sets. In addition, cloud providers are deploying and
The classical control systems such as P, PI, PD, PID has making available analytic tools that can process massive
lesser efficient than Fuzzy system for many reasons like amounts of information. These technologies are maturing and
existing of overshot, raising the settling time, and have a more becoming more widely attainable, and this appears to be a key
significant steady-state error as will explained in the next point [18].
section. The use of classical controllers leads to less energy
saving [16]. IV. DESIGN AND IMPLEMENTATION
The water intake system regarded as an industrial system, so it is
There are two places for store the alarms and events, one required more care in providing suitable devices that serve for this
in OPCServer (KEPServerEX) by utilizing the alarm and task. The most important things that should be available in selected
events facility existed in the OPC Server this kind store in the devices are durability and reliability. The chosen main controller for
hard disk of the local computer. this system is PLC from LSIS Company with 16 digital inputs and
12 digital outputs and two analogue inputs and two analogue outputs
The other place is remotely in the cloud utilizing the in addition to the communication module. The analogue module,
platform of Ubidots. Alarm and events play a vital role in whether for input or output, can use for voltage or current. As this
analytic, so the maintenance engineers can use it as a history work will be applying in reality, an appropriate work configuration
database for diagnosis the faults occur in the operating is done for the industry environment, such as including the devices
system. in suitable PVC panel, to protect them against the dust and humidity.
Local controlling was implemented by adding control push buttons
and a selector switch for change over between Auto and Manual
operation, as shown in Fig. 2. For this control, four digital input and

Authorized licensed use limited to: University of Exeter. Downloaded on July 17,2020 at 11:56:28 UTC from IEEE Xplore. Restrictions apply.
2020 International Conference on Computer Science and Software Engineering (CSASE), Duhok, Kurdistan Region – Iraq

three digital outputs and one analogue output have been used. The Motor Value:= map (PLC_OUT, 0, 1023, 0, 255)
selector position on Auto means the IoT control level, whereas the
IoT has been used for remote control, in addition to monitoring and The PWM signal drives directly to MOSFET circuit
computing. which has a maximum capacity up to 4A and obtains DC
output voltage over a range from 0 to 24V. The Node MCU
The panel also contained two 24V power supply, one for
ESP8266 chip is used to secure the wireless communication
between PLC and sensors. In the side of the panel, a router
device is installed for securing Ethernet connection with PLC
and providing the internet for the devices. The MODBUS
protocol has been used to connect PLC with a router and with
all the local devices.
To design PID controller, a PID auto-tuning and PID
function blocks have been created in the PLC ladder diagram
according to the following setting that obtained by using
auto-tuning facility available in the PLC:
Set point=20cm, Cyclic time= 100mSec
The PID parameters are; Kp=187, Ti= 1183, Td=295.
For creating the process of fuzzy logic inside the PLC, a
fuzzy logic algorithm based on Sugeno rules has been
developed. Seven memberships have been selected for both
Error and Change f Error to have an accurate and high-quality
fuzzy system. Raise, and fall edges of a timer have been used
Fig. 2. Implemented Prototype Panel
to take the sample of water level and to produce the E and CE
PLC and the other for providing 24V for DC motor. as a result. The creation of Error signal from real-time
ultrasonic water level sensor reading values was done by:
The designed process in the controller is fuzzy logic
control, which aimed to control the DC motor using DC to E: = Set_Value - Water Level
DC converter; Fig. 3 depicts the flow chart of the water level Figure 4 explains the labelling of memberships, Error
control algorithm. The Arduino and MOSFET circuit memberships and Change of Error (CE) respectively:
integration are used to build up the DC to DC converter, ENB[1]: = -10.8; ENB[0]: = -7.2;
where Arduino controller used to receive the PLC analogue ENM[0]: = -10.8; ENM[1]: = -7.2; ENM[2]: = -3.6;
output which ranges from 0 to 5 V and converts it to PWM
(Pulse Width Modulation) signal. This was done by using the
mapping statement:

Fig. 4. Error (E) and Change of Error (CE) Set of Memberships

The above two statements are an example of defining two


membership (NB&NM) of Error. The fuzzy rules used in this
algorithm are based on the Sugeno method. Sugeno used the
singleton, as the membership functions of the rule
consequential. A singleton, or precisely a fuzzy singleton, it
is a fuzzy set as a membership function which is zero
everywhere except at a particularly unique point in the
universe of discourse will be unity[19]. The output of fuzzy
logic consists of “11” single spikes from (-1) to (1) increment
by 0.2.

An example to Sugeno rule simulation in ST (Structured


Text) language is the following statements;
W(0,0):=-1; W(0,1):=-1; W(0,2):=-0.8;
W(0,3):=-0.6; W(0,4):=-0.4; W(0,5):=-0.2;
Fig. 3. Fuzzy Process Flowchart

10

Authorized licensed use limited to: University of Exeter. Downloaded on July 17,2020 at 11:56:28 UTC from IEEE Xplore. Restrictions apply.
2020 International Conference on Computer Science and Software Engineering (CSASE), Duhok, Kurdistan Region – Iraq

Table II shows that the performance of Fuzzy is better


TABLE II. COMPARISON BETWEEN PID AND FUZZY AT ET VALUE 20CM
than classical PID controller. This is because transient time,
Tr Ts
settling time and Integral Time Absolute Error (ITAE) of
Controller OS IAE ITAE Fuzzy is leaser than PID regardless small difference in
(Sec) (Sec)
PID 630 5% 830 3957 645782 Integral Absolute Error (IAE) that not have a significant
no effect on performance. Hence, the selection of the Fuzzy
Fuzzy 485 475 4340.5 596500
overshot
TABLE I. SUGENO RULES
E NB(0) NM(1) NS(2) Z(3) PS(4) PM(5) PB(6)
CE
NB(0) -1 -1 -0.8 -0.6 -0.4 -0.2 0
NM(1) -1 -0.8 -0.6 -0.4 -0.2 0 0.2
NS(2) -0.8 -0.6 -0.4 -0.2 0 0.2 0.4
Z(3) -0.6 -0.4 -0.2 0 0.2 0.4 0.6
PS(4) -0.4 -0.2 0 0.2 0.4 0.6 0.8
PM(5) -0.2 0 0.2 0.4 0.6 0.8 1
PB(6) 0 0.2 0.4 0.6 0.8 1 1 Fig. 5. MATLAB Fuzzy 3D plot for output with E and CE
controller is the right decision.
W(0,6):=0; ‘W’ is an array vector abbreviation called
(WEIGHT matrix) for the stage of inference to the two- The test of the system was done; it gives real-time results.
dimensional matrix WEIGHT has been assigned. Table I Moreover, it is seen from the comparison between the PLC
contains 49 rules that reflect the fact that it required to write real-time and MATLAB results, that the results of the
49 statements to cover all rules. While Error signal varies implemented fuzzy system are precisely similar to MATLAB
with time, it is expected for “E” to lay at any one of Error results, which means that the proposed algorithm working is
memberships, so it is needed to check the presence of error correct. Fig. 6 shows the comparison curves between PID and
signal at each membership, and accurate value inside the Fuzzy controllers.
membership. Consequently, a similar thing is correct for CE
may be changed; it is position at any time “t”, to achieve that 24
in programming it should by utilize the triangular similarity. 22
20
18
water level cm

EE[0]:=ABS(MAX((MIN((E-ENB[0])/(ENB[1]-
16
ENB[0]),1)),0)); 14 PID controller
CEE[1]:=MAX(0,MIN((CE-CENM[0])/(CENM[1]- 12
10 Set value
CENM[0]),(CENM[2]-CE)/(CENM[2]-CENM[1]))); 8
6 Fuzzy controller
The above two statements are used in the algorithm to find 4
the value of Error (NB) and change of Error (NM). Since 2
there are seven memberships of error and seven memberships 0
0 200 400 600 800 1000
of change of failure, so fourteen statements are needed. Time Sec
There is one problem in particular needs to be in Fig. 6. Comparison between PID and Fuzzy
treatment before operating the system in the real world.
The pump was operated within 24VDC, and if starting the
Control and monitoring were done successfully from the
applied voltage from zero, then the delivered current value
cloud with some delay in reading from PLC to cloud. These
will increase. The problem appears when the voltage applied
delays because Ubidots platform setting the refresh rate of
to the driver is less than 6 V; this cannot derive the pump
data update about 5 Sec and with some delay in the server of
correctly. To solve this problem should design the fuzzy
that platform. A simple dashboard has been implemented to
controller in a way that gives less than 6V only when the
visualize the monitoring of application devices. Besides, this
setpoint has been satisfied. And should check the Error value
dashboard can be used to control the D.C motor, as shown in
if the fuzzy output less than 6V (fuzzy scaled output 1250mV
Fig. 7.
sent as input to D/A converter), then consider the output equal
to zero and the system reach to the desired set point. This The trends of device's values have been monitored if some
action has been done to protect the pump from any damage. value below a specified threshold or exceeded the specified
threshold alarm signal will be initiated and send to E-mail or
V. RESULTS AND ANALYSIS mobile as SMS message, this, in effect, represents the cloud
This system is simulated by MATLAB fuzzy tool and computational. When moving data to the cloud platform of
produces the result shown in Fig. 5. This Figure shows that Ubidots, it can be achieving the back up of data. Anyway,
the output takes a maximum value when the error is 10.8 cm, from the security viewpoint is better to use a commercial
and the CE is 1. The setpoint of the process variable fixed to platform, also to avoid the delay latency of processing data—
20 cm. finally, the project working well and perform all required
functions in the design.

11

Authorized licensed use limited to: University of Exeter. Downloaded on July 17,2020 at 11:56:28 UTC from IEEE Xplore. Restrictions apply.
2020 International Conference on Computer Science and Software Engineering (CSASE), Duhok, Kurdistan Region – Iraq

[4] F. Corso, Y. Camargo, and L. Ramirez, “Wireless sensor system


according to the concept of IoT -the internet of things-,” in
International Conference on Computational Science and
Computational Intelligence, CSCI 2014, 2014, vol. 1, pp. 52–58.
[5] R. Joshi, H. M. Jadav, A. Mali, and S. V. Kulkarni, “IoT application
for real-time monitor of PLC data using EPICS,” 2016 Int. Conf.
Internet Things Appl. IOTA, 2016, pp. 68–72, 2016.
[6] A. Gavlas, J. Zwierzyna, and J. Koziorek, “Possibilities of transfer
process data from PLC to Cloud platforms based on IoT,” IFAC-
PapersOnLine, vol. 51, no. 6, pp. 156–161, 2018.
[7] H. Singh, V. Pallagani, V. Khandelwal, and U. Venkanna, “IoT based
smart home automation system using sensor node,” Proc. 4th IEEE Int.
Conf. Recent Adv. Inf. Technol. RAIT, 2018, pp. 1–5, 2018.
[8] T. Perumal, M. N. Sulaiman, and C. Y. Leong, “Internet of Things
(IoT) enabled water monitoring system,” in 2015 IEEE 4th Global
Conference on Consumer Electronics (GCCE ), 2015, pp. 86–87.
Fig. 7. Ubidots designed dashboard [9] A. Ahmed and A. Smieee, “Andriod-Based Remotely Accessed Plc
Control Systems,” Al-Qadisiyah J. Eng. Sci., vol. 9, no. 4, pp. 503–
515, 2016.
[10] A. Setiawan, S. J. Sahat, L. B. Subekti, Y. Bandung, and K. Mutijarsa,
“Design and Implementation of IoT Sensor System for Home Power
VI. CONCLUSION Manager and Environment Condition Monitor,” in In 2018
This paper presented a prototype of the industrial process International Symposium on Electronics and Smart Devices (ISESD),
pp. 1–6.
for R.O water intake controlled by PLC, that could also be [11] T. Malche, P. Maheshwary, and Á. S. Á. Iot, “Internet of Things (IoT)
monitoring and managed to employ IoT. The wireless Based Water Level Monitoring System for Smart Village,” in
communication has been applied in the industry with many International Conference on Communication and Networks, 2017, vol.
advantages. Namely, such as minimize the number of wire 508, pp. 305–312.
scheme, and decrease the probability of faults and easily to [12] S. Geetha and S. Gouthami, “Internet of things enabled real time water
quality monitoring system,” Smart Water, vol. 2, no. 1, pp. 1–19, 2017.
make the maintenance. IoT can work as a complement for the
[13] A. Al-Fuqaha, “AL-FA-Internet of Things: A Survey on Enabling
traditional automation systems towards the ideality in Technologies, Protocols, and Applications,” IEEE Commun. Surv.
industrial systems. It has a significant role in monitoring the Tutorials (Accepted Publ., vol. 1, no. 2, pp. 2347–2376, 2013.
operating systems remotely from anywhere in the world and [14] P. L. Dordal, An Introduction to Computer Networks, vol. 2, no. 1.9.18.
at any time. This will enhance the reliability of the systems. Department of Computer Science, Loyola University Chicago, 2019.
The performance of Fuzzy is better than classical PID [15] Specification, “Modbus Application Protocol,” Modbus Organ., no.
controller. Also, Fuzzy provides a more efficient, precise and 1.1b, pp. 1–50, 2012.
reliable control system and led to power-saving. Alarms and [16] L. De Microinformatique and J. Godjevac, “Comparison between PID
and fuzzy control,” pp. 1–23, 2007.
event history has been back up using Ubidots platform, SMS
[17] C. Yoon, M. Huh, S. G. Kang, J. Park, and C. Lee, “Implement smart
and Emails are done by using cloud computing where SMS farm with IoT technology,” in International Conference on Advanced
and Email messages have been practically received by mobile Communication Technology, ICACT, 2018, pp. 749–752.
and Email when an alarm signal occurs. IoT is essential in [18] Z. Ling, W. Chen, and J. Yu, “Research and implementation of OPC
maintenance where NOC engineers could see the alarms and server based on data access specification,” in Fifth World Congress on
Intelligent Control and Automation (IEEE Cat. No. 04EX788), 2004,
events and tracking the data trends remotely by using the pp. 1475–1478.
cloud services to utilize them in faults analytics and give [19] J. R. Mahmood, R. S. Ali, H. Migdadi, R. A. Abd-Alhameed, and E.
proper solutions. This work has the novelty by integrating M. Ibrahim, “Development of educational Fuzzy control laboratory
three crucial issues; the use of IoT technology with PLC, by using PLC and HMI,” in 2015 Internet Technologies and Applications,
using wireless technology in transmitting sensor data to the ITA 2015 - Proceedings of the 6th International Conference, 2015, no.
September, pp. 383–387.
PLC, and the development of an algorithm to operate the
fuzzy logic within the PLC environment. For future work, the
proposed system can be used as a single node in a more
extensive network of many nodes. This improvement can be
used to cover a larger size grid of plants such as water
purification plants in large cities, utilizing IoT facilities,
cloud, and Fuzzy control and monitoring.

REFERENCES
[1] J. Rezazadeh, K. Sandrasegaran, and X. Kong, “A location-based
smart shopping system with IoT technology,” in IEEE World Forum
on Internet of Things, WF-IoT 2018 - Proceedings, 2018, pp. 748–753.
[2] K. S. Shinde and P. H. Bhagat, “Industrial process monitoring using
loT,” Proc. Int. Conf. IoT Soc. Mobile, Anal. Cloud, I-SMAC, 2017,
pp. 38–42, 2017.
[3] H. Aftab, K. Gilani, J. E. Lee, L. Nkenyereye, S. M. Jeong, and J. S.
Song, “Analysis of identifiers on IoT platforms,” Digit. Commun.
Networks, no. July 2019.

12

Authorized licensed use limited to: University of Exeter. Downloaded on July 17,2020 at 11:56:28 UTC from IEEE Xplore. Restrictions apply.

You might also like