GLOBAL INDUSTRIAL PROCESS MONITORING USING RASPBERRY PI CONTROLLER

This project proposes an advanced system for process management via a credit card sized single board computer called raspberry pi based multi parameter monitoring hardware system designed using RS232 and microcontroller that measures and controls various global parameters. The entire system is designed with the double layer SMD based embedded board with different sensors and a raspberry pi that can compile and communicate the data received from the sensors. The raspberry pi when operated on the Linux operating system can perform multi-tasking. There are varieties of methods to monitor the data remotely obtained by various sensors. But there is need of robust and easy to use computerized system. As computerized system involves high implementation costs, there is need of alternative solution in terms of equal robustness and cost effective.


A B S T R A C T
This project proposes an advanced system for process management via a credit card sized single board computer called raspberry pi based multi parameter monitoring hardware system designed using RS232 and microcontroller that measures and controls various global parameters. The entire system is designed with the double layer SMD based embedded board with different sensors and a raspberry pi that can compile and communicate the data received from the sensors. The raspberry pi when operated on the Linux operating system can perform multi-tasking. There are varieties of methods to monitor the data remotely obtained by various sensors. But there is need of robust and easy to use computerized system. As computerized system involves high implementation costs, there is need of alternative solution in terms of equal robustness and cost effective. stem for process card sized single used as front end a servers used to hat connects all me systems TCP, bedded web server ective with high is sufficient for control [2]. A printed circuit board (PCB) uses conductive tracks, pads and other features etched from copper sheets to connect the ctronic components laminated onto a non-conductive mount technology (SMT) is a technique Components are placed directly onto the surface of printed circuit boards (PCBs) Both technologies can be used in a he components that cannot be mounted can be used with through hole technology. In industrial automation, there are different manufactures producing their own PLCs [3]. The PLCs in an industry is connected with distributed control system (DCS) by protocols such as RS232/485, USB and Ethernet [1] [5]. The DCS has multilevel hierarchical network structure for communication. Due to the hierarchical network becomes complex and high in cost. Complete network from field level to control level is not formed. The java simulators can be used as front end panel for monitoring and control. The java servers used to control the process in a of Things (IoT) is a fast developing technology that connects all devices with Internet [6].
There are varieties of methods to monitor the data remotely obtained by various sensors. But there is need of robust and easy to use computerized system. As computerized system involves high implementation costs, there is need of alternative solution in terms of equal robustness and cost effective To develop the robust remote data monitoring system we propose the system with following sub objec 1. To develop the embedded system along with various sensors to measure voltage, current, fluid level, light intensity, temperature, humidity in industrial environment and send this data over Wi GHz)module to remote receiver. 2. To develop the system with Raspberry pi module (2/3) to receive data from Wi display it on monitor.

System Discription
To develop the robust remote data monitoring system we propose the system with following sub objectives.

GLOBAL INDUSTRIAL PROCESS MONITORING USING RASPBERRY PI CONTROLLER
This project proposes an advanced system for process management via a credit card sized single board computer called raspberry pi based multi parameter monitoring 232 and microcontroller that measures and controls various global parameters. The entire system is designed with the double layer SMD based embedded board with different sensors and a raspberry pi that can compile and he sensors. The raspberry pi when operated on the tasking. There are varieties of methods to monitor the data remotely obtained by various sensors. But there is need of robust and easy computerized system involves high implementation costs, there is need of alternative solution in terms of equal robustness and cost effective.
to the hierarchical network structure the communication becomes complex and high in cost. Complete network from field level to control level is not formed. The java simulators can be used as front end panel for monitoring and control. The java servers used to control the process in a field [5]. Internet of Things (IoT) is a fast developing technology that connects There are varieties of methods to monitor the data remotely obtained by various sensors. But there is need of robust and ized system. As computerized system involves high implementation costs, there is need of alternative solution in terms of equal robustness and cost To develop the robust remote data monitoring system we propose the system with following sub objectives To develop the embedded system along with various sensors to measure voltage, current, fluid level, light intensity, temperature, humidity in industrial environment and send this data over Wi-Fi (2.4 GHz)module to remote receiver. system with Raspberry pi module (2/3) to receive data from Wi-Fi module (2.4GHz) and To develop the robust remote data monitoring system we propose the system with following sub objectives. To develop d system along with various sensors to measure voltage, current, fluid level, light intensity, temperature, humidity in industrial environment and send this data over .4 GHz)module to remote receive and To develop the

Research Article
This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited. system with Raspberry pi module(2/3) to receive data from Wi-Fi module(2.4GHz) and display it on monitor

Data Gathering
Voltage, fluid level, humidity, temperature and light intensity can measured using different sensors and interfaced with PIC16F877A microcontroller. The in-built ADC can convert analog output of sensor to digital. This Digitized data can be sent to raspberry pi board using Wi-Fi module. Raspberry pi based application can be developed which can receive the data from Wi-Fi module. The display connected to raspberry pi can be PC monitor which will show the data.

Temperature Sensor
LM35 or RTD can be used to measure the environmental or specific process temperature as per specific industrial need. The OPAMP based signal conditioning circuit is required to calibrate the output of sensor with respect to desired input of ADC.

Humidity Sensor
SyHS220 sensor can be used to measure relative humidity in the environment. The output of this sensor is analog and can be calibrated using OPAMP based signal conditioning circuit.

Fluid Level Sensor
Hall effect based or potentiometer based level sensor can be used to measure fluid level. The analog output of the sensor can be calibrated using signal conditioning

Voltage or current Sensor
To monitor voltage level, simple step down transformer and half rectifier circuit can be used which varies in accordance with voltage change. To measure current, current transformer can be used which gives output in terms of voltage with respect to current flowing. The signal conditioning can be used to calibrate the output of the sensor.

Light intensity sensor
To measure the light intensity, the LDR based circuit can be used. The output of this circuit varies in accordance with change in light intensity falling on LDR sensor. The analog output can be calibrated using signal conditioning circuit.

PIC16F877A
The data gathered from different sensors is send to the signal conditioners to enhance its strength then all the data is gathered by PIC16F877A and is transmitted over Wi-Fi module to the Raspberry PI controller. And display it on monitor.

Software Specification
The following software tools are required for Designing, compiling and debugging

MikroC Pro for PIC
MikroC PRO is an ANSI C compiler for PIC devices of Microchip. The main features are intuitive IDE, Powerful compiler with advanced optimizations, lots of hardware and software library. Some of the tools that is integrated with this compiler are active comment editor, ASCII chart, EEPROM editor, GLCD bitmap editor, HID terminal, LCD custom character, Mikro boot loader, UDP terminal and USART terminal. Software simulator simulates the code flow in PC and supports all debugging modes MikroICD.

Raspbian operating system
Raspbian is a free operating system based on debian, Optimized for the raspberry pi hardware. Raspbian comes with over 35,000 packages and pre-compiled software bundled in a nice format for easy installation on Raspberry Pi. Raspbian is still under development to improve stability and performance of as many Debian packages as possible.

Raspberry Pi Model B+
Raspberry pi is based on the Broadcom BCM2835system on a chip (SoC) that includes an ARM1176JZF-S 700 MHz processor, Video Core 4 GPU, and was originally designed with 256 megabytes of RAM and later upgraded to 512 MB. The system has either Secure Digital (SD) or MicroSD sockets for boot media and persistent storage. The other features of raspberry pi model B+ are 700 MHz cloak speed, four individual USB host ports, 10/100 Base T Ethernet port and HDMI audio and video output .

Wi-Fi dongle with Raspberry Pi
Wi-Fi is a popular wireless networking technology thus uses radio waves to provide wireless high-speed Internet and network connections. The Wi-Fi Alliance, the organization that owns the Wi-Fi registered trademark term specifically defines Wi-Fi as any "wireless local area network (WLAN) products that are based on the Institute of Electrical and Electronics Engineers' (IEEE) 802.11 standards. We are using Wi-Fi dongle is shown in Fig.6 for Wi-Fi communication between Raspberry Pi and clients. The first task is to bum the Raspbian OS into the raspberry pi and we can configure the device with following command then we can see a window as shown in Fig.. We need to swap "YOUR_SSID" our Wi-Fi network. Then reboot the raspberry pi using following command Sudo reboot. Now we are ready to use Wi-Fi communication. Raspberry Pi 3 has inbuilt Wi-Fi module which can also be used in our project.

LM35 Precision Centigrade Temperature Sensor
The LM35 series are precision Integrated circuit temperature sensors whose output voltage is linearly proportional to the Celsius temperature. The LM 35 thus has an advantage over linear temperature sensors calibrated in Kelvin as the user is not required to subtract a large constant voltage from its output to obtain convenient centigrade scaling .The LM 35 does not require any external calibration or trimming to provide typical accuracies of +/-(1/4) degree Celsius at room temp and +/-(3/4) degree Celsius over a full -55 to +150 degree Celsius temp range.

Humidity Sensor (SY-HS-220)
Humidity Sensor detects the relative humidity of the immediate environments in which they are placed.

Working Principle
Most humidity sensors use capacitive measurement to determine the amount of moisture in the air .this type of measure relies on two electrical conductors with nonconductive polymer film laying between them to create an electrical field between them .moisture from the air collects on the film and cause changes in the voltage levels between the two plates .this change is converted into a digital measurement.

Liquid Level Sensor
The measurement of position, displacement or level is very essential for many vivid applications such as process feedback control, transportation traffic control, robotics, security systems and more. Here term position refers to determination of object's co-ordinates (either linear or angular) with respect to a selected reference. The term displacement refers to moving from one position to another position for a specific distance or angle.
A proximity sensor is a threshold version of a position detector. A position sensor is a linear device whose output signal represents a distance to the object from a certain reference point. A proximity sensor is a simpler device which generates the output signal when a certain distance to the object becomes essential for an indication. A displacement sensor often is part of a more complex sensor where the detection of movement is one of several steps in a signal conversion. An example is a pressure sensor where pressure is translated into a displacement of a diaphragm. Later the diaphragm displacement is converted into an electrical signal which represents pressure. Hence the position sensors are essential for the design of many other sensors. Position and displacement sensors are static devices whose speed response usually is not critical for the performance. Following specifications need to be considered while selecting or designing the displacement or position sensors.

Voltage Sensor
This module allows to measure voltages of 0-25V by presenting a lower voltage to the output for measuring. After having this value, simply through some math actual voltage can be calculated. Plug + into 5V, -ground and S into an analogue pin.

Current Sensor using current transformer
Current transformers reduce high voltage currents to a much lower value and provide a convenient way of safely monitoring the actual electrical current flowing in an AC transmission line using a standard ammeter. The principal of operation of a basic current transformer is slightly different from that of an ordinary voltage transformer. Unlike the voltage or power transformer looked at previously, the current transformer consists of only one or very few turns as its primary winding. This primary winding can be of either a single flat turn, a coil of heavy duty wire wrapped around the core or just a conductor or bus bar placed through a central hole. Due to this type of arrangement, the current transformer is often referred to as a "series transformer" as the primary winding, which never has more than a very few turns, is in series with the current carrying conductor supplying a load. The secondary winding however, may have a large number of coil turns wound on a laminated core of low-loss magnetic material. This core has a large cross-sectional area so that the magnetic flux density created is low using much smaller cross-sectional area wire, depending upon how much the current must be stepped down as it tries to output a constant current, independent of the connected load.
The secondary winding will supply a current into either a short circuit, in the form of an ammeter, or into a resistive load until the voltage induced in the secondary is big enough to saturate the core or cause failure from excessive voltage breakdown.

Fig 3 Liquid level sensor
Unlike a voltage transformer, the primary current of a current transformer is not dependent of the secondary load current but instead is controlled by an external load. The secondary current is usually rated at a standard 1 Ampere or 5 Amperes for larger primary Current transformers can reduce or "step-down" current levels from thousands of amperes down to a standard output of a known ratio to either 5 Amps or 1 Amp for normal operation. Thus, small and accurate instruments and control devices can be used with CT's because they are insulated away from any high-voltage power lines. There are a variety of metering applications and uses for current transformers such as with Wattmeter's, power factor meters, watt-hour meters, protective relays, or as trip coils in magnetic circuit breakers, or MCB's secondary windings are related by an inverse proportion. But relatively large changes in a current transformers turns ratio can be achieved by modifying the primary turns through the CT's window where one primary turn is equal to one pass and more than one pass through the window results in the electrical ratio being modified.

Wi-Fi dongle with Raspberry Pi
Wi-Fi is a popular wireless networking technology thus uses radio waves to provide wireless high-speed Internet and network connections. The Wi-Fi Alliance, the organization that owns the Wi-Fi registered trademark term specifically defines Wi-Fi as any "wireless local area network (WLAN) products that are based on the Institute of Electrical and Electronics Engineers' (IEEE) 802.11 standards. We are using Wi-Fi dongle is shown in Fig.6 for Wi-Fi communication between Raspberry Pi and clients. Raspberry Pi 3 has inbuilt Wi-Fi module which can also be used in our project.

Raspberry Pi 3
The Raspberry Pi 3 is the third generation Raspberry Pi. it has:  A 1.2GHz 64-bit quad-core ARMv8 CPU Wi-Fi-ability as a Wi-Fi Shield offers (and that's just out of the box)! The ESP8266 module is an extremely cost effective board with a huge and ever growing community. This module has a powerful enough on-board processing and storage capability that allows it to be integrated with the sensors and other application specific devices through its GPIOs with minimal development up-front and minimal loading during runtime. Its high degree of on-chip integration allows for minimal external circuitry, including the front-end module, is designed to occupy minimal PCB area. The ESP8266 supports APSD for VoIP applications and Bluetooth coexistence interfaces. It contains a self-calibrated RF allowing it to work under all operating conditions, and requires no external RF parts.

Future Work
The system can be enhanced for wave form presentation of data in an excel sheet using raspberry pi. Controlling actions can be set for some predefined cases which enables the automatic operation at certain cases. a dedicated video processor can be used in raspberry pi to display graphical and three dimensional view of the industry.

CONCLUSION
There are varieties of methods to monitor the data remotely obtained by various sensors. But there is need of robust and easy to use computerised system. As computerised system involves high implementation cost, there is need of alternative solution in terms of equal robustness and cost effective. This paper gives the solution by using a raspberry Pi controller which can monitor data and send it over remote receiver. So use of number of computers is reduced.