Smart Real Time Data Logging System for Industrial Automation Using I2C Protocol

Total Page:16

File Type:pdf, Size:1020Kb

Smart Real Time Data Logging System for Industrial Automation Using I2C Protocol 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.
Recommended publications
  • Task Order 7 of the Commercial Motor Vehicle Technology Diagnostics and Performance Enhancement Program Foreword
    Task Order 7 of the Commercial Motor Vehicle Technology Diagnostics and Performance Enhancement Program Foreword This project is one of several performed under the provisions of Section 5117 of the Transportation Equity Act of the 21st Century (TEA-21). The primary objective of this project was to explore the potential for the development of cost-effective vehicle data recorder (VDR) solutions tailored to varied applications or market segments. Through a combination of technical research and analysis, including business-related cost-benefit assessment, potential VDR configurations ranging from fundamental to comprehensive were explored. The work performed under the project included: • Capturing the available results of this research and synthesizing information from the commercial vehicle user, original equipment manufacturer (OEM), equipment supplier, and recorder manufacturer communities. • Profiling high-level functional requirements of VDRs, which were extracted from industry and government findings (NHTSA, FHWA, TRB, ATA/TMC), as well as surveying and interviewing key industry stakeholders, and assessing end-user needs and expectations regarding VDR capabilities and required data parameters. • Developing several VDR concepts with different levels of VDR sophistication. VDR concepts were formulated and targeted for the following end-use applications: − Accident reconstruction and crash causation − Operational efficiency − Driver monitoring • Profiling and analyzing advanced VDR technologies that could be added to any of the concepts developed. • Identifying and estimating the costs and benefits for each of the VDR concepts developed. The results from this project can be used by motor carriers in helping evaluate vehicle data recorder applications, costs, and potential benefit scenarios. Notice This document is disseminated under the sponsorship of the Department of Transportation in the interest of information exchange.
    [Show full text]
  • 2010 Test & Measurement Catalogue
    2010 Test & Measurement Catalogue Established in 1991, Pico Technology is a worldwide leader in the field of PC- based test equipment and data acquisition. Our products regularly win industry awards, with our past achievements including: We offer all of our customers unbeatable technical support, with our team of experts on call to answer your query or to advise you on the best product to suit your need. Our stringent quality controls ensure that you receive the highest quality products with the very best level of service. We often get comments like this from our customers : “I would like to add that in today’s world and economic climate it is truly refreshing to learn that there are still companies in this country which market products like yours, and who you can call up and get met with the level of help and support which I have been shown.” BC, UK. CONTENTS PC Oscilloscopes 03 Temperature & Humidity Data Loggers 41 PicoScope Software 09 TC-08 41 PicoScope 2000 Series 13 Thermocouples 42 PicoScope 3000 Series 15 PT-104 43 PicoScope 4000 Series 17 PT100 Temperature Sensors 44 PicoScope 5000 Series 19 HumidiProbe 45 PicoScope 6000 Series 21 Other Products 46 PicoScope 9000 Series 23 - Education Kit 47 Oscilloscope Accessories 29 - EnviroMon 48 Data Loggers & Data Acquisition 35 - Automotive Scopes & Kits 48 PicoLog Software 35 Ordering Information 49 Voltage Data Loggers 39 - PicoLog 1000 Series 39 - ADC-20 & ADC-24 40 PicoScope PC OSCILLOSCOPES COMPACT AND PORTABLE UNITS FREE SOFTWARE UPDATES Unlike traditional bench-top instruments that contain a PC as well as the If you’re lucky you can return a traditional DSO to the supplier for a firmware measuring hardware, Pico Technology’s PC oscilloscopes are light and portable.
    [Show full text]
  • Cave Pearl Data Logger – a Flexible Arduino-Based 3 Logging Platform for Long-Term Monitoring in Harsh 4 Environments 5 Patricia A
    Preprints (www.preprints.org) | NOT PEER-REVIEWED | Posted: 16 January 2018 doi:10.20944/preprints201801.0139.v1 Peer-reviewed version available at Sensors 2018, 18, 530; doi:10.3390/s18020530 1 Article 2 Cave Pearl Data Logger – A flexible Arduino-based 3 Logging Platform for Long-Term Monitoring in Harsh 4 Environments 5 Patricia A. Beddows 1 * and Edward K. Mallon 2 6 1 Department of Earth & Planetary Sciences, Northwestern University, 2145 Sheridan Rd – Tech F374, Evanston, 7 IL 60208-3130; [email protected] 8 2 Triple Point Design, LLC; [email protected] 9 * Correspondence: [email protected]; Tel.: +1-224-420-0977 10 11 Abstract: A low-cost data logging platform is presented for environmental monitoring projects that 12 provides long-term operation in remote or submerged environments. Three premade “breakout boards” from 13 the open-source Arduino ecosystem are assembled into the core of the data logger. The components are selected 14 based on low-cost and ready availability, making the loggers easy to build and modify without specialized tools, 15 or a significant background in electronics. Power optimization techniques are used to extend the life of this 16 module-based design to >1 year on standard AA batteries. Robust underwater housings are built for these 17 loggers using common PVC fittings. The flexibility of this prototyping system is illustrated with two field studies 18 recording drip rates in a cave, and water flow in a flooded cave system. 19 20 Keywords: data logger; environmental monitoring network; open source; submersible; under-water; critical 21 zone observatory; cave; Yucatan Peninsula, vadose hydrology; subterranean karst estuary.
    [Show full text]
  • Implementation of Low Cost Data Logger Using Flash Disk with File Allocation Table
    Implementation of Low Cost Data Logger Using Flash Disk with File Allocation Table Panupong Thanutong1, Dusit Thanapatay2, Kamol Kaemarungsi3 and Tsuyoshi Isshiki4 1TAIST Tokyo Tech, ICTES Program, Dept. of Electrical Engineering, Kasetsart University, Jatujak, Bangkok 10900, Thailand 2Dept. of Electrical Engineering, Kasetsart University, Jatujak, Bangkok 10900, Thailand 3Embedded System Technology Laboratory, National Electronics and Computer Technology Center, Pathumthani 12120, Thailand 4 Dept. of Communications & Integrated Systems, Tokyo Institute of Technology, S3-66, 2-12-1, Ookayama, Meguro-ku, Tokyo 152-8550, JAPAN computer for further analysis using software analyzing tools. Abstract— Data logger is a device used for storing Data loggers can be applied in various fields such as in [1] measurement data. It can be used in wide range of embedded where data logger is used to observe city’s air environment or in logging applications. This paper reports on practical development [2] where it is used for collecting galvanic skin response (GSR). experience and design’s details of a low cost data logger prototype. In this paper, we developed a prototype of low cost data The data logger in this paper is also compared with two of existing data loggers in the literature. This data logger combines 32-bits logger as a part of our planned research project in a microcontroller and flash disk with file allocation system (FAT) hydrological system application for monitoring rivers. The data together with programming technique to control the hardware for logger will be connected to a hydrological sensing system recording and monitoring of general proposes measurements. which consists of a set of wireless sensor nodes and several This data logger stores the data on removable flash disk for hydrological sensors.
    [Show full text]
  • Secure Can Logging and Data Analysis
    THESIS SECURE CAN LOGGING AND DATA ANALYSIS Submitted by Duy Van Department of Systems Engineering In partial fulfillment of the requirements For the Degree of Master of Science Colorado State University Fort Collins, Colorado Fall 2020 Master’s Committee: Advisor: Jeremy Daily Steve Simske Christo Papadopoulos Stephen Hayne Copyright by Duy Van 2020 All Rights Reserved ABSTRACT SECURE CAN LOGGING AND DATA ANALYSIS Controller Area Network (CAN) communications are an essential element of modern vehicles, particularly heavy trucks. However, CAN protocols are vulnerable from a cybersecurity perspective in that they have no mechanism for authentication or authorization. Attacks on vehicle CAN systems present a risk to driver privacy and possibly driver safety. Therefore, developing new tools and techniques to detect cybersecurity threats within CAN networks is a critical research topic. A key component of this research is compiling a large database of representative CAN data from operational vehicles on the road. This database will be used to develop methods for detecting intrusions or other potential threats. In this paper, an open source CAN logger was developed that used hardware and software following the industry security standards to securely log and transmit heavy vehicle CAN data. A hardware prototype demonstrated the ability to encrypt data at over 6 Megabits per second (Mbps) and successfully log all data at 100% bus load on a 1 Mbps baud CAN network in a laboratory setting. An AES- 128 Cipher Block Chaining (CBC) encryption mode was chosen. A Hardware Security Module (HSM) was used to generate and securely store asymmetric key pairs for cryptographic communication with a third-party cloud database.
    [Show full text]
  • Test & Measurement
    TEST & MEASUREMENT PRODUCT CATALOG Established in 1991, Pico Technology is a worldwide leader Foreword in the field of PC-based test equipment and data acquisition. By Alan Tong, Founder and Managing Director, Pico Technology Our products regularly win industry awards, with our past achievements including: When I started designing and building Pico oscilloscopes over 25 years ago, I could not have imagined how technology within the electronics industry would develop. Today I am proud that Pico is the market leader in PC-based oscilloscopes. We work closely with our ever-growing customer base. Whether we are continuously developing the product range at our headquarters near Cambridge, UK, in our USA office in Texas, or with our RF design team in Vilnius, Lithuania, we are committed to meeting customers’ needs through advances in technology. For example, PicoScope is now touchscreen compatible and works not only with Windows, but with Mac and Linux too. Our high-end features, SDK and excellent support mean that PicoScope is being embedded into more systems than ever before. We offer all of our customers unbeatable technical support, with It’s this heritage and innovation that allows us to create products for the electronics industry that continually our team of experts on call to answer your query or to advise grow in capability and have become well loved. We hope you find what you need within this catalog, as we you on the best product to suit your need. Our stringent quality show you our product range and demonstrate the ease of use and simplicity of our PicoScope 6 software.
    [Show full text]