Research on the Monitor and Control System of Granary Temperature and Humidity Based on ARM

Similar documents
Design of Humidity Monitoring System Based on Virtual Instrument

Design of Intelligent Humidity Sensing Watering System Based on MCU

Construction of Wireless Fire Alarm System Based on ZigBee Technology

The Design of Temperature Control System for Vegetable Greenhouse

Design of the Fiber-optic Fence Warning System with Distributed Video Real-Time Display Function Qiang-yi YI and Zheng-hong YU *

Design of an Infusion Rate Control System Based on Single Chip Microcomputer

A Design Method Based on Inherent Testability of Remote Control and Monitoring System for Marine Main Engine

Design of Mine Safety Detection Alarm Based on Single-chip Mingtao Ma

"Three Preventions" System Design Based On Single-Chip Microcomputer (SCM) Control Jiaxiong Wen

Temperature and humidity controller system based on single chip microcomputer

for Precision Planter System Based on MSP430-CT171 Lianming Xia, Xiangyou Wang*, Duanyang Geng, Qingfeng Zhang

Design of Cold Light Source System for Medical LED Endoscope

Design of Multi-Sensors Cooperation Control System for Intelligent Building

Petrol Bunk Automation with Prepaid Card using GSM Identification

Gas Detection Instrument Based on Wireless Sensor Networks

The Design of MLX90621 Based Intelligent Lighting Control System Hui-jiao Wang*, Meng-meng Liu and Cong-cong Shi

Design of Multi-Functional Alcohol Concentration Detecting System Zhang Chong, Zhang Yue

The design of the human body infrared thermometer

Experimental Study on the Effects of Compression Parameters on Molding Quality of Dried Fish Floss

Design of Classroom Intelligent Lighting System Based on SCM. Jiale Zheng1, a

A design of automatic boiler intelligent alert system based on the wireless AD hoc network

Temperature and Humidity Monitoring System for Embedded Computer

Design of Microwave Anti-theft Alarm Based on Microcontroller

Multi-sensor System For Indoor Environment Monitoring Zheng-yu Wanga, and Xiao-ru Zhangb

Design of Gear Defect Detection System Based on Machine Vision

Hazardous Gas Detection using ARDUINO

New fire control system design for fire fighting and rescue equipment Jianguo LUO1, a, Zehao BU2, b

The design of automatic remote monitoring system for the temperature and humidity based on GPRS Hui ZHANG 1, a, Honghua WANG 2,a

Design and Realization for the Environmental Protection Type of Pig-Farm Model Based on the Sensor Technology

6367(Print), ISSN (Online) Volume (IJCET) 3, Issue 2, July- September (2012), IAEME

Application of Fuzzy Control in Central Air-conditioning Terminal Units Energy-saving

SAFETY PRE-ALARM MONITOR SYSTEM BASED ON GSM AND ARM

DESIGN OF THE BODY FRAME OF A RAIL DETECTOR

Sensor Technology. Summer School: Advanced Microsystems Technologies for Sensor Applications

GSM Based Computer Lab Security System Using PIR Sensors

Design of Unmanned Monitoring and Automatic Monitoring System

Wearable Real Time Health and Security Monitoring Scheme for Coal mine Workers

Characteristics of different sensors used for Distance Measurement

Detection system for optic characteristics of automobile glasses

Design of Intelligent Alarm System Based on GSM Network Shun Qing XU

Design of Intelligent Home Alarm System Based on ARM

International Journal of Advancements in Research & Technology, Volume 2, Issue4, April ISSN

Design and Development of General Purpose Alarm Generator for Automated System

Development of Bionic Air Cooler Used in High Temperature Coal Mine

Break-in Detector and Alarm System

A Cost Effective Embedded Design for Security and Automation in Industries

Application of OPC in the Intelligent Building System Integration

Design of Intelligent Car

Study in Step by Step Electric Energy Meter Connection Detection Method

Title Page. Report Title: Downhole Power Generation and Wireless Communications. for Intelligent Completions Applications

Applications of Smart Home system for disabled people for using wireless network

ENACTMENT OF SCADA SYSTEM FOR JUDICIOUS DWELLING

Intelligent Fire Detection and Visual Guided Evacuation System Using Arduino and GSM

International Forum on Energy, Environment Science and Materials (IFEESM 2015)

Intelligent monitoring system for automobiles

Application of the VRV Air-Conditioning System Heat Recovery Series in. Interior Zone and Analysis of its Energy Saving

Android Controlled Fire Fighting Robot

The Mode of Urban Renewal Base on the Smart City Theory under the Background of New Urbanization

BOILED WATER TEMPERATURE MEASUREMENT SYSTEM USING PIC MICROCONTROLLER

New Design for Energy Saving Water Dispensers

GSM BASED GARBAGE AND WASTE COLLECTION BIN OVERFLOW INDICATOR

Firefighting Robot. I. Introduction

Addressable Fire Alarm Control System 2100 series

International Journal of Scientific Research and Reviews

Open Access Operation Modes and Energy Analysis of a New Ice-Storage Air- Conditioning System

Research Article. ISSN (Print) , China. *Corresponding author Chen Hao

Smart Gas Booking and LPG Leakage Detection System

REAL TIME TRACKING AND HEALTH MONITORING OF SOLDIERS USING GPS AND GSM MODULE

SIMULATION ANALYSIS ON THE FRESH AIR HANDLING UNIT WITH LIQUID DESICCANT TOTAL HEAT RECOVERY

Design and Development of Industrial Pollution Monitoring System using LabVIEW and GSM

GSM POWER ALARM SYSTEM

Thermocouple Interfacing With MSP430F5529 for Furnace Management System

Virtual Boundary System Using Passive Infrared Sensor

Experimental Study of Initial Process of Frost on Heat Exchanger Surface of Refrigerated Transport Vehicle

Implementation of Auto Car Washing System Using Two Robotic Arms

[Patil* et al., 5(7): July, 2016] ISSN: IC Value: 3.00 Impact Factor: 4.116

World Journal of Engineering Research and Technology WJERT

The design of clothing washable labels based on NFC

A Fresnel Reflection-Based Optical Fiber Sensor System for Remote Refractive Index Measurement Using an OTDR

Smart Home: Controlling and Monitoring Households Appliances Using Gsm Network

The Low-Temperature Radiant Floor Heating System Design and Experimental Study on its Thermal Comfort

Automatic Customer Counter and Payment Tool for Shopping Centers and commercial spaces

AUTOMATIC STREET LIGHT CONTROL SYSTEM USING MICROCONTROLLER

Available online at ScienceDirect. Procedia Engineering 135 (2016 )

Modeling and Simulation on Temperature Control System of Farm Products Baking Equipment. Liu Jun, Jia Zhenwei, Guo Rongxing

International Journal of Scientific & Engineering Research Volume 9, Issue 2, February-2018 ISSN

Available online at ScienceDirect. New Framework of Intelligent Evacuation System of Buildings

Designing A Home Automation System by Using RF Receivers

Design and Implementation of a Temperature and Humidity Control System for a Poultry House Prototype

A Novel Approach to Garbage Management Using Internet of Things for Smart Cities

Design and Implementation of Wireless Gas Sensing Network for Preventing Industrial Calamity

Design and Implementation of Wireless Fire Fighting System

The Study of Low-Light Sights Reliability Test System in High and Low Temperature Environment

Design and Implementation of a Real Time Wireless Monitor System for Urinary Incontinence

A Survey on implementation of Fire detection System Based on ZigBee Wi-Fi Networks

Laser Alarm System based on GSM Module Family

*Corresponding author # Presenting author DOI: /jki th International Working Conference on Stored Product Protection

Design & Control of an Elevator Control System using PLC

Analysis of the influence of open door size on fire smoke diffusion law in protective engineering

BURGLAR ALARM USING ARDUINO AND PIR SENSOR WITH SMS ALERT Burgoji Santhosh Kumar 1, S.Ramesh 2 1

Transcription:

Research on the Monitor and Control System of Granary Temperature and Humidity Based on ARM Liu Yang 1, Xinrong Cheng 2, Zhijie Jiang 3, and Zhijun Ren 1 1 Engineering College, China Agricultural University, 100083, Beijing China 2 College of Information and Electrical Engineering, China Agricultural University, 100083, Beijing China 3 The Department of Automobile, Beijing Jiaotong Vocational Technical University, 102200, Beijing China yangliu@cau.edu.cn, hh0188@sina.com, jiangzhijie@163.com, zhijunr@gmail.com Abstract. The temperature, humidity, air composition and ph value are very important parameters in the granary that keep the grain safely store and good quality. Nowadays only temperature and moisture are used in most granary monitor and control system. Air composition, ph and insect pest are not monitored because classic industrial personal computer or microcomputer are not able to handle these real-time multiply tasks at the same time. So it is necessary to design a monitor and alarm system to monitor these parameters in the granary to minimize or curtail damage or loss. Applying the advanced embedded technology and sensor technology, a set of granary temperature and humidity monitor and alarm system is designed based on the ARM. Temperature sensor, humidity sensor, air composition sensor and ph value sensor are selected to monitor the parameters in the granary. Based on the ARM microprocessor LPC2290, the hardware system consists of serial communication module, LCD display module and alarm module. Based on the embedded operation system, the software completes the allocation design and testing of the tasks and realizes the functions such as pulse frequency signal acquisition, analog signal A/D convert, serial digital signal communication, alarm in different grades and LCD display. All the parameters can be real-time displaying on the LCD screen. The system meets the requirement of the monitor and alarm functions in the granary. Keywords: Monitor, Alarm, Sensor, ARM. 1 Introduction Grain storage safety is the important strategy relating to peoples livelihood and has its social meaning and economic value. The temperature and humidity in the granary D. Li and Y. Chen (Eds.): CCTA 2011, Part III, IFIP AICT 370, pp. 257 264, 2012. IFIP International Federation for Information Processing 2012

258 L. Yang et al. varies when the environments and ventilation situation changes during the storage that leads to the grain becoming worse and insect damage. At the same time, the quality of the grain influenced by the air in the grain and microorganism. According to the specific of the grain storage, the temperature and humidity are the main parameters which should be monitored in the granary and the air composition and ph value are the auxiliary parameters [1]. In the old days the temperature and humidity in the granary are controlled by the workers. The granary workers check the temperature and humidity in the granary periodically in order to make decision how long and how strong the wind is supported to ventilate the granary. It is hard to control the temperature and humidity accurately in the granary just by the workers. With the developments in the electric and electronic technology, the sensors are used to monitor the temperature and humidity in the granary. At the beginning granary measure and control system consisted of only some electronic temperature measurement and several controlled fans [2]. Later on industrial personal computer and semiconductor PN temperature components are used in big and middle granary to control the limited parameters [3]. And then the digital sensors and industrial personal computer with windows operation were used in the control system [4]. Nowadays wireless technology is used in the monitor and control system [5]. Although in the 20 years monitor and control system have developed and applied greatly and achieved economic benefits, many problems still exist. In wireless system, it it hard to improve the system accuracy and reduce the repeated error because of the useful detected signal being added by surrounding wireless signals. In the wireless system communication data temporary disappearing with the environment temperature varied leads to unreliability [6]. On the other hard, nowadays only temperature and moisture are used in most granary monitor and control system. Air composition, ph and insect pest are not monitored because classic industrial personal computer or microcomputer are not able to handle these real-time multiply tasks at the same time [7]. However the ARM monitor system in this article solved the problems above. It can process multiple signals at the same time using the multiple tasks and real-time functions. 2 Scheme of the Hardware System The monitor system mainly consists of controller, signal acquisition module, LCD display module, alarm module, testing module and power module. The controller makes the data acquisition and compares the values to the boundary condition values. The alarm beeps and at the same time lights flash if the real value is greater than the boundary ones. Every parameter can be real-time displaying on the LCD screen. This project is based on the LPC2290 belonging to ARM microcomputer of Zhi Yuan company. According to the functions, hardware part bases on the LPC2290 microprocessor and connects to inputs and outputs through the bus and interface circuit. The diagram of hardware system is shown in Fig.1.

Monitor and Control System of Granary Temperature 259 2.1 Sensor Signal Acquisition Fig. 1. The diagram of hardware There is four-channel & ten-digital converter in LPC2290 microcontroller which can successively convert analog signals to digital signals. The outputs of temperature sensor and humidity sensor signal are plus frequency signals which input into the AIN0 and AIN1 of LPC2290 after go through optical coupler. Air composition sensor and ph value sensor output the signals that directly go through the multiple serials converter and communicate with LPC2290 [8][9]. The interface diagram of sensor signal data acquisition is shown in Fig.2. 2.2 Alarm Module Design Fig. 2. Interface circuit of sensor data acquisition The alarm system is divided into three levels. When the acquisition data reach to the critical value, the system judge the type of the alarm level and output the related results. Also the alarm result is divided into three levels. Green light will be flashing in the first level, reminding the granary clerk to monitor the parameters carefully. Yellow light will

260 L. Yang et al. be flashing while beeping in the second level, reminding the granary clerk to deal with the dangerous situation in twenty four hours. Red light will be flashing while beeping in the third level, reminding the granary clerk to deal with the emergency immediately. U1 P2.20 P2.21 P2.22 P2.23 LPC2290 39 40 41 42 1 19 2 4 6 8 11 13 15 17 10 U? OE1 OE2 A1 A2 A3 A4 A5 A6 A7 A8 GND 74LS244 VCC Y1 Y2 Y3 Y4 Y5 Y6 Y7 Y8 VCC 20 18 16 14 12 9 7 5 3 R4 LED1 LED2 LED3 VCC R1 R2 R3 BUZZER C8550 Fig. 3. Alarm Module 2.3 LCD (Liquid Crystal Display) Module The LCD module is designed base on M240128-1A1 made by Xin Li company to display the temperature, humility, air composition and ph values. The LCD matrix dot is 240 128. The LCD display module consists of controller, line driver, row driver, display memory and LCD display screen assembled in one low-cost PCB board. The module can be real-time displaying the data monitored by the temperature sensor, humidity sensor, air composition sensor and ph value sensor. The LCD display module is connected with the microcontroller by input and output ports [10][11]. The circuit is shown in the Fig.4. Fig. 4. LCD Display Interface Circuit

Monitor and Control System of Granary Temperature 261 3 Software Scheme Based on μc/os-Ⅱ The more powerful functions and system calling, the more effective and simple supports can be provided by the applying program and the less amount of maintain. TheμC/OS- only provides a task scheduling kernel. In order to realize a complete and reality online multiple task operating system, the basic common task is built such as serial ports, LCD and A/D according to the function acquirement of the monitor and alarm system. The bottom layer consists of the alarm hardware system whose kernel is LPC2290 (RM7 serial chip) and some surrounding devices such as LCD and alarm module. The middle layer consists of signal supported by operating system, mailbox and information line etc. communication mechanism, driving program library and API functions. The top layer is the customer applied program which is established in the main task and operated through calling API function by the customers to satisfy their requirements. Customers can establish their own tasks in their own applied programs. Multiple tasks complete the cooperative communication depending on the system information line. Fig. 5. Main Program Diagram 3.1 System Task Modules and Priority Level Division The tasks division is the important step of the real-time software system development. The whole system will be low effective, poor real-time and less capacity if the division is unreasonable. According to the design requirement, the program establishes six tasks: the main task, A/D acquisition task, the switch signal I/O

262 L. Yang et al. acquisition task, serial communication task, alarm task and LCD display task. The allocation of the tasks is shown in the table 1. Every task has its own stack space depending on the variety numbers and interruption numbers in the task after the priority is decided. In the μ C/OS- system, the static and active ways are used to allocate the stack space. The static stack allocation is completed when compiling while the active stack allocation is completed when operating. The static allocation is used in the design that keep the priority in the process of system operation is the same as before. Table 1. Tasks Allocation Task Name Priority Task Stack Function Description Main Task 17 256 Initialized Display Interface, Established Other Tasks A/D Acquisition Task 18 128 Measure Temperature, Humidity Switch Signal I/O Acquisition Task 19 128 Acquire I/O Signals Serial Communication Send Air composition Signals, ph 20 256 Task Value Signals To Serial Ports Alarm Task 21 128 Beep and Light Alarm LCD Display Task 22 512 Display Measurement 4 Experiments The experiments methods and steps are designed and operated in the lab and in the granary. Take wheat as the sample. Fig.6 shows the LCD system. Fig. 6. LCD Module in the Monitor and Control System

Monitor and Control System of Granary Temperature 263 Table 2. Compared Measured Value with Actual Value of the Granary Parameters Parameters Name Moisture( % ) Temperature( C) Air Composition ph Value ( % ) Measured Number 1 51.45 22.56 3.78 6.89 Actual Value 51.81 23.00 3.28 6.77 Measured Number 2 52.32 22.89 3.02 6.71 Actual Value 52.67 23.13 3.35 6.67 Measured Number 3 51.87 23.09 3.15 6.80 Actual Value 51.31 22.79 3.77 6.74 Measured Number 4 52.04 22.11 3.20 6.69 Actual Value 52.56 23.43 3.82 6.79 Measured Number 5 51.78 22.67 3.32 6.81 Actual Value 51.99 23.99 3.57 6.90 Measured Number 6 51.37 23.00 3.90 6.83 Actual Value 51.09 22.89 3.11 6.47 Measured Number 7 52.67 22.62 3.65 6.29 Actual Value 52.01 23.00 3.22 6.47 Measured Number 8 51.81 22.47 3.92 6.59 Actual Value 51.57 23.13 3.06 6.70 Measured Number 9 52.83 23.28 3.46 6.39 Actual Value 52.32 22.90 3.94 6.37 Measured Number 10 51.34 23.06 3.26 6.44 Actual Value 51.67 22.97 3.80 6.61 5 Conclusion Applying the advanced embedded technology and sensor technology, a set of granary temperature and humility monitor and alarm system is designed based on the ARM he ARM microprocessor LPC2290. Temperature sensor, humidity sensor, air composition sensor and ph value sensor are selected to monitor the parameters in the granary. The hardware system consists of serial communication, LCD display and alarm module. The software is based on the embedded operation system that completes the allocation design and testing of the tasks. The system realizes the functions such as pulse frequency signal acquisition, analog signal A/D convert, serial digital signal communication, alarm in different grades and LCD display. The system meets the requirement of the monitor and alarm functions in the granary. References 1. Liu, T.: The Design of Intelligent Granary Monitoring System Based on Wireless Sensor Network. Journal of Jinling Institute of Technology 26(4), 6 11 (2010) 2. Simulation of Temperature Measurement System forgrain Storage Based on ZigBee Technology, http://www.computer.org/portal/web/csdl/doi/10.1109

264 L. Yang et al. 3. Zheng, S.: The Development and Application of the Granary Temperature Measure System. Wuhan Polytechnic University (2009) 4. Wang, Z., Wang, P., Li, C.: Wireless Oxygen Content Monitor Design in Metallurgy Gas Processing. Control & Automation 23(1), 109 110 (2007) 5. Cai, X.: Research and Design of Smart Online ph Detector and Recorder.D. Zhejiang Polytechnic University (2009) 6. Chi, T., Huang, D.: ph Detection s Realizer and Control Based on Transcendental Knowledge of Neuron Model. Journal of Zhengzhou University (Science Edition) 40(3), 32 34 (2008) 7. Li, T., Zhao, W., Huang, Z.: The ph Detecting System Based on nrf9e5 Wireless Transmission. Instrument Technique and Sensor (4), 62 63 (2009) 8. Zhou, L.: RM Embedded System Tutorial. Tsinghua University Press, Beijing (2004) 9. Shen, L., Song, T., Ye, Z.: Development and Application of Embedded System. Electronics Industry Press, Beijing (2005) 10. Zhou, L.: Basis and Practice of ARM Microcontrollers. Beijing Aerospace University Press, Beijing (2004) 11. Zhou, L.: ARM Embedded System Experimental Materials. Beijing Aerospace University Press, Beijing (2005) 12. Jean, L.J.: Embeded Real-time Operating System μc/os- II. Beijing Aerospace University Press, Beijing (2003)