IoT Based Water Tank Level Control System Using PLC

IoT Based Water Tank
ORIGINAL POST
By Methaq A. Ali, A. Miry, T. Salman
details

4-Figure2-1[1].png

Internet of Things (IoT) has been widely used in various applications such as health and safety, smart homes, greenhouses, and industrial application. It has been increasingly utilized in the industry owing to its benefits in terms of enhancing the overall performance of a given system. There is a need to engage the IoT technology to meet the requirements in many local industries, especially in developing countries. This can be formulated as having an effective automation system that monitors all essential parts of the system and responds to it in the real-time of all sensitive physical variables on the system. This is called the Industrial Internet of Things (IIoT). In this paper, a prototype system has been implemented for artificial control and monitoring using IoT. The article includes two control systems executed: classical PID (Proportional Integral Derivative) and fuzzy logic with a comparison between them. Fuzzy control is first simulated using MATLAB-R2018b then developing a fuzzy algorithm based on Sugeno method inside PLC (Programmable Logic Controller). The connection of PLC with OPC (Object Process Control) server and sensors is used by the Modbus protocol. The IoT system is designed to utilize the OPC and MQTT (Message Queuing Telemetry Transport), and the obtained data will be uploaded to the cloud. ESP8266 is used to connect the sensors to the router through wireless communication.

 

Fig. 1. General Layout of Communication in an IoT System

 

Fig. 2. Implemented Prototype Panel

 

Fig. 3. Fuzzy Process Flowchart

 

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

4-Figure2-1[1].png

Internet of Things (IoT) has been widely used in various applications such as health and safety, smart homes, greenhouses, and industrial application. It has been increasingly utilized in the industry owing to its benefits in terms of enhancing the overall performance of a given system. There is a need to engage the IoT technology to meet the requirements in many local industries, especially in developing countries. This can be formulated as having an effective automation system that monitors all essential parts of the system and responds to it in the real-time of all sensitive physical variables on the system. This is called the Industrial Internet of Things (IIoT). In this paper, a prototype system has been implemented for artificial control and monitoring using IoT. The article includes two control systems executed: classical PID (Proportional Integral Derivative) and fuzzy logic with a comparison between them. Fuzzy control is first simulated using MATLAB-R2018b then developing a fuzzy algorithm based on Sugeno method inside PLC (Programmable Logic Controller). The connection of PLC with OPC (Object Process Control) server and sensors is used by the Modbus protocol. The IoT system is designed to utilize the OPC and MQTT (Message Queuing Telemetry Transport), and the obtained data will be uploaded to the cloud. ESP8266 is used to connect the sensors to the router through wireless communication.

 

Fig. 1. General Layout of Communication in an IoT System

 

Fig. 2. Implemented Prototype Panel

 

Fig. 3. Fuzzy Process Flowchart

 

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

COMMENTS

Please Login to comment
  Subscribe  
Notify of