Intelligent Pressure Measuring System

Similar documents
Altimeter / Barometer Module SMD500 ultra low power, low voltage

Microcontroller Based High Resolution Temperature Monitoring Data Acquisition System with Graphical User Interface

Embedded Systems Lab Lab 1 Introduction to Microcontrollers Eng. Dalia A. Awad

Research of digital temperature measurement system in vacuum thermal test based on DS18B20

Design of Intelligent System for Watering Flowers Based on IOT

Figure 1.1: Some embedded device. In this course we shall learn microcontroller and FPGA based embedded system.

The Design of Embedded MCU Network Measure and Control System

Microcontroller Based Data Acquisition System

Design and Research of Virtual Instrument Development Board

Figure 1 Typical Application Circuit

Display Real Time Clock (RTC) On LCD. Version 1.2. Aug Cytron Technologies Sdn. Bhd.

Design of Greenhouse Temperature and Humidity Monitoring System Based on ZIGBEE Technique Ming Xin 1,a, Wei Zhongshan 1,b,*

The intelligent weather station system based on Arduino

Design of Digital Voltmeter for Microcontrollers

The Design of the Embedded WEB Server Based on ENC28J60

Pressure 4 click. PID: MIKROE 3020 Weight: 24 g

MS BA Micro Barometric Module

HDPM01. Description. Features. Applications

Adaptive Motion Control of FIREBIRD V Robot

How to Implement I 2 C Serial Communication Using Intel MCS-51 Microcontrollers

POWER THEFT DETECTION USING WIRELESS SYSTEM: A DISTRIBUTED APPROACH FOR POWER THEFT PREVENTION

The Design of Wireless Data Collector based on WIA-PA Ligang Li 1,2,a, Zhongfeng Wang 1,2,b, Jianlong Huang 1,2,c

USER MANUAL EXPERIENCE INCREDIBLE PERFORMANCE V2.3

ELCT708 MicroLab Session #1 Introduction to Embedded Systems and Microcontrollers. Eng. Salma Hesham

Qingdao, , China. China. Keywords: Deep sea Ultrahigh pressure, Water sound acquisition, LabVIEW, NI PXle hardware.

AS Channels Capacitive Touch Sensor IC From Santa Clara, United States of America

Advanced NI-DAQmx Programming Techniques with LabVIEW

Design of a Multi-parameter Measurement System

The engine temperature real-time monitoring instrument based on Microcontroller. Wang Jiayue, Yue Yuntao, Luan Ru, Zhang Jianghui Qin Xin

Raspberry Pi - I/O Interfaces

FPGA-BASED DATA ACQUISITION SYSTEM WITH RS 232 INTERFACE

Embedded Systems and Software. Serial Interconnect Buses I 2 C (SMB) and SPI

Research on function and design of virtual instrument based on LabVIEW Technology

SILICON MICROSTRUCTURES

Keywords Digital IC tester, Microcontroller AT89S52

KPIC-0818P (V050919) Devices Included in this Data sheet: KPIC-0818P

Device for the Remote Measurement of Meteorological Data Based on Arduino Platform

Getting Started with InnoSwitch TM 3-Pro Code Library using PIC16F18325

PIC KIT 2 BASIC-USERS GUIDE FEMTO ELECTRONICS

GT24C02. 2-Wire. 2Kb Serial EEPROM (Smart Card application)

MICROCONTROLLER BASED SMART FAN SYSTEM

Implementation of a real-time, high-speed data logger for Process control application

AUTOMOBILE APPLICATIONS USING CAN PROTOCOL

DESIGN OF CALORIMETER BASED ON ARM AND ZIGBEE

Design of analog acquisition and storage system about airborne flight data recorder

Human heart rate detector based on photoelectric volume

The Design of Embedded Remote Intelligent Automotive Monitoring System based on GSM. Lijun Gao

Design and Research of Intelligent Remote Control Fan Based on Single Chip Microcomputer and Bluetooth Technology

A Design of Remote Monitoring System based on 3G and Internet Technology

BIG8051. Development system. User manual

GE-INTERNATIONAL JOURNAL OF ENGINEERING RESEARCH VOLUME -3, ISSUE -5 (May 2015) IF ISSN: ( )

Controlling and Monitoring Of Industrial Parameters by Using GSM

1.3inch OLED User Manual

International Journal of Electronics and Computer Science Engineering 1588

Agricultural Collection System Based on Zigbee

Industrial Appliances Control Using Android Mobile & Bluetooth Technology

Design of Bicycle mileage Speed Meter

Agriculture Wireless Temperature and Humidity Sensor Network Based on ZigBee Technology

34 Series EEPROM Application Note. 1. Introduction. 2. Power supply & power on reset

MT2 Introduction Embedded Systems. MT2.1 Mechatronic systems

Study of Smart Home System based on Zigbee Wireless Sensor System. Jie Huang 1

Research and Design of Universal Proportional Valve Controller

Microcontroller Based Automatic Temperature Control System

Hardware design of a submerged buoy system based on electromagnetic inductive coupling

DS WIRE INTERFACE 11 DECOUPLING CAP GND

AMS 5812 OEM pressure sensor with an analog and digital output

Design and Development of Control System for Three- Dimensional Wireless Human-Computer

Manual iaq-engine Indoor Air Quality sensor

Serial Peripheral Interface. What is it? Basic SPI. Capabilities. Protocol. Pros and Cons. Uses

2016, IJournals All Rights Reserved Page 121

EtherCAT Data Acquisition System Based on DMA Mode

PIC 28 Pin Board Documentation. Update Version 5.0

DS1676 Total Elapsed Time Recorder, Erasable

BC-USB-Kit Manual. First Edition. February, BeatCraft, Inc.

EEE394 Microprocessor and Microcontroller Laboratory Lab #6

VBattery 7 VCC V DD IRLED IS31SE5001 SDA SCL INTB SDB. Figure 1 Typical Application Circuit

CEIBO FE-51RD2 Development System

A Tentative Study on Ward Monitoring System based on Zigbee Technology Jifeng Liang

WeatherPiArduino Weather Board

IMU Axis Gyro Evaluation Board Application Note

Research into a Wireless Smart Parking System

Marine fuel boiler system design platform. Hou Ying-ying

Mechatronics and Measurement. Lecturer:Dung-An Wang Lecture 6

ITM-MKR680. User s Guide. Document ITM-MKR680 User s Guide 02/11/2018

MS BA Variometer Module

Hardware Design of Smart Home System Based on zigbee Wireless Sensor Network

DS1845 Dual NV Potentiometer and Memory

8051 Intermidiate Development Board. Product Manual. Contents. 1) Overview 2) Features 3) Using the board 4) Troubleshooting and getting help

Introduction to Proteus

The IIC interface based on ATmega8 realizes the applications of PS/2 keyboard/mouse in the system

NPA 201. Amphenol Advanced Sensors. Digital Output Absolute Pressure Sensor. 11:15 17 Jan,15. Applications. Features

PIC-32MX development board Users Manual

Alcohol Detection using Pic Microcontroller

Environmental Data Acquisition Using (ENC28J60)

SECTION 1 INTRODUCTION. Walt Kester

DESIGN OF A CUBESAT PAYLOAD INTERFACE. Jason Axelson Department of Electrical Engineering University of Hawai i at Mānoa Honolulu, HI ABSTRACT

Collision Avoidance of Vehicle System Using CAN Protocol

SPI Serial SRAM: Recommended Usage

OPERATION MANUAL - DS-MOD-

Data Acquisition From Capacitance Sensor AD7746 To Central Monitoring System Using I 2 C Protocol

Transcription:

Available Online at www.ijcsmc.com International Journal of Computer Science and Mobile Computing A Monthly Journal of Computer Science and Information Technology ISSN 2320 088X IJCSMC, Vol. 3, Issue. 8, August 2014, pg.129 134 RESEARCH ARTICLE Intelligent Pressure Measuring System Shayama Subair 1, Lizy Abraham 2 ¹Department of ECE, LBS Institute of Technology for Women, Poojapura, Trivandrum, Kerala, India ²Department of ECE, LBS Institute of Technology for Women, Poojapura, Trivandrum, Kerala, India 1 shayamass@yahoo.com; 2 lizytvm@yahoo.com Abstract In this paper, a Pressure measurement using MEMS based sensor, BMP180 is implemented which is an economic and feasible method. This study mainly deals with the applicability of BMP180 in space applications. Pressure is an important parameter to monitor. The total process consists of sensing of the temperature using BMP180, PIC16F877A and sent to PC using RS232 serial interface, display in the way of digital and waveform using a real time software Lab VIEW (Laboratory Virtual Instrumentation Engineering Workbench) of National Instruments, USA and comparing with conventional sensor used in industry. Keywords BMP180 pressure sensor, PIC16F877A, RS232, MPLAB, LabVIEW I. INTRODUCTION Pressure is a common parameter to be controlled and closely related with industrial production and space applications. Pressure is an important component of modern detection technique. Pressure monitoring system has two kinds of shortcoming in current life. One is that it needs a lot of wires to transfer the sensor signal to data acquisition card and the implementation of linking signal wires is very troubling. Also, the cost is high. The other shortcoming is that the signal transferred in wire is analog signal. Designing high-performance pressure measurement systems has great significance in many practical applications for modern significance. In this paper, as the background of compensation and applications of the sensors pressure characteristics, a novel intelligent pressure detecting system based on PIC16F877A and BMP180 [1]-[4] is designed and implemented. The indigenous smart pressure sensor consists of MEMS pressure sensor and electronics integrated so that the sensor output is digitized at the sensor location itself. Also sent to PC by using RS-232 serial interface and display it using the real time software LabVIEW. II. SYSTEM DESIGN System design framework is shown as Figure 1, from which we can see the system consists of PIC, pressure sensor, PC machine and an indicator. In which, BMP180 is the pressure collection component, responsible for the actual pressure sensitive, and sending the collected data to master chip PIC16F877A by a single bus. The 2014, IJCSMC All Rights Reserved 129

main chip processes the received data and converts it into a barometric pressure. Simultaneously, on the one hand, send them to the host computer PC through its serial communication. This sensor as an internal temperature sensor which detects the temperature values during each pressure measurement. In addition, the system can easily set an artificial temperature threshold artificially, so that when the actual test detection system proceeds and the temperature exceeds the threshold value, the indicator will turn ON. Fig.1 Framework map of system design III. SYSTEM HARDWARE DESIGN AND IMPLEMENTATION A. Design and implementation of PIC external circuit Since the system has programmable Flash memory in the internal of PIC16F877A so no external memory is needed, pin 32 can be directly connected to the VCC. At the same time, taking into account the PIC16F877A microcontroller has a clock inside the circuit, so only need to access timing control component in its OSC1/CLKI OSC2/CLKO pins to form a stable self-excited oscillator. When using the crystal and capacitors to form the resonant circuit, in principle, there are no strict requirements with the C1 and C2, but considering the size of capacitor usually affects the stability of the oscillator oscillation and the fast of vibration, therefore, usually capacitor selects 15 ~ 35pF or so, this design chooses 20MHz crystal and 22pF capacitors. A pull-up resistor of 4.7Kohm is connected to VCC and then it is connected to the SDA and SCL pin of the sensor, the specific circuit design is shown in Figure 2. Fig.2 PIC external crystal oscillator circuit B. Design and implementation of BMP180 pressure sensor interface circuit The BMP180 is the high precision MEMS pressure sensors for consumer applications. The ultra-low power, low voltage electronics of the BMP180 is optimized for use in mobile phones, PDAs, GPS navigation devices and outdoor equipment. With a low altitude noise of merely 0.25m at fast conversion time, the BMP180 offers superior performance. The I2C (Inter Integrated Circuit) interface allows for easy system integration with a microcontroller. The BMP180 is based on piezo-resistive technology for EMC robustness, high accuracy and linearity as well as long term stability. The BMP180 is designed to be connected directly to a microcontroller of a mobile device via the I2C bus. The BMP180 consists of a piezo-resistive sensor, an analog to digital converter and a control unit with E2PROM and a serial I2C interface. The operating pressure and temperature range of BMP180 is 300hPa to 1100hPa and 0 to 85 0 C.The operating voltage of the sensor is 3.3V. 2014, IJCSMC All Rights Reserved 130

C. Design and implementation of serial communication interface circuit To communicate PIC with PC, a serial interface chip must be added between the PIC and PC to match the two levels. The serial interface communication circuit was shown in Fig.4. MAX3232 chip was used to convert the voltage level between MCU and PC. There are two RS232 interface in MAX3232, only one port was used to communicate with PC. The input pin labelled with TXD and RXD of MAX3232 was connected to the serial port of PIC16F877A. Fig.3 Serial communication circuit IV. DESIGN AND IMPLEMENTATION OF SYSTEM SOFTWARE A. Design and implementation of PIC program in MPLAB PIC programming is done using MPLAB Integrated Development Environment (IDE) which is a gratis, integrated toolset for the development of embedded applications of Microchip's PIC and dspic microcontrollers. The system uses the microcontroller C language to execute software design and implementation which does not depend on the machine hardware system and the operating system. The Microchip Pickit3 is used for burning the PIC. The program for the BMP180 is written in Mplab and connects to Pickit3. Use CCS development tool as compiler, CCS can be used to compile the C source, assembly source code, connect and position the target file and library, create a HEX file and debug target procedures. For the Master PIC, we first need to define the output pins and force hardware I2C communication. To read from the slave, the first byte sent is the address of the slave. The second byte is the location of the data on the slave being requested. The communication is terminated before being restarted. The I2C Communication process is shown in Fig.4 Fig.4 I2C Communication 2014, IJCSMC All Rights Reserved 131

The microcontroller sends a start sequence to start a pressure or temperature measurement. After converting time, the result value can be read via the I2C interface. For calculating temperature in C and pressure in hpa, the calibration data has to be used. These constants can be read out from the BMP180 E2PROM via the I2C interface at software initialization. The sampling rate can be increased up to 128 samples per second for dynamic measurement. In this case, it is sufficient to measure the temperature only once per second and to use this value for all pressure measurements during the same period. The pressure and temperature data has to be compensated by the calibration data of the E2PROM of the BMP180. The BMP180 delivers the uncompensated value of pressure and temperature. The E2PROM has stored 176 bit of individual calibration data. This is used to compensate offset, temperature dependence and other parameters of the sensor. The flowchart of the process design of MCU is shown in Fig.5. Fig.5 Process Design of MCU 2014, IJCSMC All Rights Reserved 132

B. Program design of PC using LABVIEW The temperature measurement system stored the raw data in flash chip and uploaded them to PC through RS232 serial communication interface. LABVIEW [7] and its data acquisition system is used to read data in the form of digital and waveform, simultaneously, display visually on the host computer using the main program interface in LabVIEW. The block diagram in LabVIEW mainly includes the serial port selection, begin detection/stop detection, current temperature display window and temperature change waveform. VISA Configure Serial port initializes the serial port specified by VISA resource name to the specified settings. Wire data to the VISA resource name input to determine the polymorphic instance to use or manually select the instance. The rate of transmission through RS232 is 9600.The time required for the write and read operations is 1000 milliseconds and one stop bit. The number of bits is required for data transmission is eight. V. EXPERIMENTAL RESULTS In order to test and verify the effectiveness of the pressure measurement system designed in this paper, different experiments are carried out at high and low pressure with the system. In the experiment, set the of high and low pressure dropping from 1000 mbar to 300 mbar, then rising from 500 mbar to 1000 mbar, change and detect the data every 0.01 mbar,then compare the error between the detected pressure and the set standard pressure. The sensor responses to high and low values are good. From the experimental test data in Table 1, we can see clearly, the standard error of the detected pressure with this system and actual set value at each pressure point is no more than ±2.4mbar, which indicates the proposed measurement system is correct and effective. TABLE 1 DETECTED TEMPERATURE DATA Input Pressure(mbar) Output Pressure(mbar) 300 302 400 401. 41 500 501.04 600 600.08 700 700.18 800 798.71 900 902.12 1000 1002.24 VI. CONCLUSIONS Pressure is one of the important parameters in the actual industrial processes, designing an intelligent pressure measurement system has been the focus of the work. In this paper, take the pressure measurement system based on BMP180 and PIC16F877A and introduce design methodology and implementation of such detection system, which has strong practical value. Simultaneously, it should also be noted that the sensor is the core device of the detection system, whose performance parameters directly affects the accuracy of the detected pressure. The Experimental result shows that the pressure detected with BMP180 and its accuracy is ±2.4mbar, which determines the scope of its utility, can only be the aspect where the accuracy is not very high. ACKNOWLEDGMENT The authors would like to thank all the staff members of the department of Electronics and Communication, LBSITW, Poojapura for their support, guidance and encouragement. REFERENCES [1]. Jie LI, Qiao JIANG, Xi-ning YU, Ying DU Intelligent Temperature Detecting System, IEEE Conference on Intelligent System Design and Engineering Application,2010. [2]. WANG Li-xin, YANG Shao-qing, ZHENG Hong-jun, Temperature measurement method and temperature sensor. Liaocheng Teachers College.2005, 12(01):32-34. 2014, IJCSMC All Rights Reserved 133

[3]. L.R. Klopfenstein Jr., Software linearization techniques for thermocouples, thermistors, and RTDs, ISA Transactions, Volume 33, Issue 3, 1994, pp. 293-305. [4]. HAN Zhi-jun, LIU Xin-min.DS18B20 digital temperature sensor and its application. Nanjing Institute of Technology. 2003(03):9-12. [5]. Introduction to I2C, by David Kalinsky and Roee Kalinsky, Embedded Systems Programming, 07/31/2001. [6]. Wikipedia.org [7]. bosch-sensortec.com [8]. i2c-bus.org 2014, IJCSMC All Rights Reserved 134