Smart Real Time Data Logging System for Industrial Automation Using I2C Protocol
Total Page:16
File Type:pdf, Size:1020Kb
Published by : International Journal of Engineering Research & Technology (IJERT) http://www.ijert.org ISSN: 2278-0181 Vol. 8 Issue 07, July-2019 Smart Real Time Data Logging System for Industrial Automation using I2C Protocol R. Sarojini1 M. Vijayakumar2 Assistant Professor, Assistant Professor, Department of ECE, Department of ECE, Government College of Engineering Srirangam Government College of Engineering Dharmapuri S. Ramalingam3* Research Scholar, Department of EEE, Alagappa Chettiar Government College of Engineering and Technology Karaikudi Abstract- This proposed paper work aims to develop a I2C is superior among all this these technologies. As I2C has the protocol based industrial machine status and data monitoring feature of low cost, easy to implement, Error checking, high system. It was the I2C bus for addressing the machines and it data transmission rate. Hence this project describes the I2C also has the capability of connecting up to 256 machines. We based communication between the electronic devices for can do this in a single I2C chip. In order to reduce the cost, industrial automation [2]. manual work and interfaced with ATmega 328 microcontroller and to improve the efficiency by using I2C bus. The industrial In general industrial machine monitoring is a process remote machine monitoring system plays an important role in of periodically monitoring the status of the machine to industrial application and they are to a large extent reinforce the overall products productivity. The information universally. sent by the machine monitoring system is incredibly The aim of the present work was to design and important for the managers and higher officials to analyses implement completely machine-controlled microcontroller- the production factors and also to resolve problems like based data acquisition system to measure the temperature and production delay, production misfortune, and improper appreciate monitoring the switching status of the machine sustenance as the breakdown takes an extended time to get ON/OFF and also the data is hold on in memory with date and reported and fixed. This delay leads the devices to be unused time in an exceedingly working environment for industrial application using ARDUINO. The system consists of a for several days. Such issues are resolved by this machine temperature sensing element (LM35), bus protocol, RTC monitoring system which monitors the status of the machine module, data logger with a memory card for storing data and from any locations. Industrial automation expedites to time and additionally note that time at which the machine stops extend the product quality, irresponsibleness and production the function. The sensor and machine on/off status circuits are rate. This paper work is to enhance a completely arduino interfaced to the arduino and the processing data will stored in machine-controlled data acquisition system for factory micro memory Card (SD card) and all data send to an android automation. The projected system is the industrial based app or web server using the Ethernet connection machine status monitoring using data logging system [6]. synchronously. The collected data will be displayed on the webpage and also the user allows downloading the information directly from the web server. Such an intelligent smart system 2. RELATED WORK diminishes human effort and automates the repeated tasks in In the existing systems we used the CAN protocol, industrial applications. web based applications, ZIGBEE and GSM protocol to monitor the machine status, temperature and other physical Keywords: Data logger, SD Card, ARDUINO, RTC, I2C, parameters [2]. In CAN based system it provides the Industrial automation communication between the electronic devices for industrial automation. And in ZIGBEE and GSM, the machines 1. INTRODUCTION temperature, voltage, humidity and ON-OFF status of the As the advancement in the technology is happening machine were monitored and recorded. all the system in the industries are becoming complex [1] and are also being used in the harsh environment. Because They will be updated on the web server and later of the Complexity of the system and the environmental downloaded by the user at any time. Further they also used condition human intervention to know the system status is remote based machine status monitoring system. The difficult. The Proposed system will be used to know the limitations of the existing system includes that the CAN bus processing status of the system and to control it if the system are costlier and we can't interface many machines at a time. is in critical condition. Moreover in the existing system only the switching status of The embedded system has to work in real time and must be the machine, temperature and humidity levels were low cost providing high performance. Industry automation measured [6]. can be possible in either wired or wireless. Many technologies are available for industry automation. But I2C IJERTV8IS070402 www.ijert.org 885 (This work is licensed under a Creative Commons Attribution 4.0 International License.) Published by : International Journal of Engineering Research & Technology (IJERT) http://www.ijert.org ISSN: 2278-0181 Vol. 8 Issue 07, July-2019 But in the proposed system we can monitor and store the date and time, machines ON-OFF status. And also we can monitor the more number of industrial machines at a time without any manual control. Here the data are stored automatically in the SD card and computer terminal. And we retrieve the data whenever it is needed. So it reduces the time consumption, man power and also avoids the manual errors. 3. PROPOSED SYSTEM 3.1 System Design This project “Real Time Data Logging System for Industrial Application using I2C” mainly projects on both the hardware as well as software. The hardware implementation is done using the ARDUINO microcontroller, Toggle switches, RTC, LCD and I2C and the software implementation is done using ARDUINO IDE software and it is simulated, uploaded to the flash memory in the ARDUINO controller. This method enables data analysis which would be useful in storing the data in micro SD card. Using the SD card we can retrieve the data at any cost. In this system we use RTC module for displaying the data and time and also note that time at which the machine stops the function. Fig.2 Flow diagram of proposed system 3.2 WORKING PRINCIPLE 3.3 DATA LOGGER This project "Real Time Data Logging System for The ability of data logger system is automatically Industrial Application using I2C" as the various hardware collect data of machine on/off status on a every 24-hour per components such as the Microcontroller, LCD, relay, SD day .the information are stored and retrieved in SD card and card module, RTC and I2C bus. The Design Flow of Data also sent the data to web server using Ethernet protocol. all Logger shown in Fig 1. Such an advanced technology data are written with date and time using RTC module in SD system reduces human work and automates the repeated card. tasks in industrial applications. Fig 2 shows the proposed industrial data logger system. We use various loads for the industrial applicants such as light, fan, machines, A.C, exhaust fan, fire extinguisher and motor. We use ARDUINO Microcontroller as the main controller unit where the input and the output interface can be used. We use12V D.C adapter where the loads can be simultaneously accessed by using the relays an d this can be both automatically as well as manually controlled and it can be turned on and off. It is used as an embedded server with all data back up in an SD Card. Fig.3Circuit for Microcontroller interfacing with I2C Bus 3.4 ARDUINO The ATMEGA328 has 14 I/O lines, serial communication and 6 ADC(A0 to A5) converter. The device operates in 5v. RTC module, SD card and I2c chip are interfaced with microcontroller chip. Fig.1 Block diagram of proposed system IJERTV8IS070402 www.ijert.org 886 (This work is licensed under a Creative Commons Attribution 4.0 International License.) Published by : International Journal of Engineering Research & Technology (IJERT) http://www.ijert.org ISSN: 2278-0181 Vol. 8 Issue 07, July-2019 Fig.4 Arduino Microcontroller Fig 6. RTC DS1307 Modules 3.5 I2C (INTER-INTEGRATED CIRCUIT) The I2C chip has remote I/O growth for arduino 3.8 Liquid Crystal Display: microcontroller by victimization serial clock (SCL) and The LCD is a alpha numeric display .it has 16 serial information (SDA) line. it has 8bit I/O expander for 2 character and 2 row line. it is interfaced with arduino line biface bus (I2C) is meant for 5v VCC operation. The microcontroller. It has three command line RS,R/W and device i2c chip is an 8-bit-bidirectional Input and output enable line .it has 4 bit data lines are connected to arduino port (P0–P7), as well as secured outputs with high-current I/O pins. the LCD data is programmed by embedded C drive capability. language. The microcontroller sends the information to LCD. Fig 5. Microcontroller interfacing with I2C Bus 3.6 MICRO SD CARD It is the tiniest memory card which will be bought; at fifteen millimeter x eleven millimeter (about the scale of a fingernail), it's a few quarter of the scale of the traditional sized sd card. This module uses the quality SPI interface for communication, that associate SPI buses, MISO, MOSI, SCK, and a Cs signal pin through programming, the information will simply be browse and compose into sd Card by exploitation the ARDUINO or alternative microcontrollers. 3.7 RTC MODULE: The RTC module DS1307 works on I2C protocol. Using I2C communication, all Data from different registers can be read by accessing their addresses for reading the module supported DS1307, it may be a low-power, and binary-coded decimal and SRAM is 56 bytes.