Design of Centralized Remote-reading Meter System and Intelligent Network Water Meter

Similar documents
Condition Monitoring System of Mine Air Compressors Based on Wireless Sensor Network

Wireless Remote Water Meter Design of Automatic Meter Reading System

Wireless Smart Home Security System Based on Android

Design of Bicycle mileage Speed Meter

Research on Approach of Equipment Status and Operation Information Acquisition Based on Equipment Control Bus

Design of an Intelligent PH Sensor for Aquaculture Industry

Temperature Measurement and Control System Based on Embedded WEB

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

Design and Implementation of Aquarium Remote Automation Monitoring and Control System

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

Design of Intelligent Garbage Bin

Research on the Application of Digital Images Based on the Computer Graphics. Jing Li 1, Bin Hu 2

Design of Environment Monitoring System in Hatcheries Based on WSN

Research on Two - Way Interactive Communication and Information System Design Analysis Dong Xu1, a

The Research and Design of the Android-Based Facilities Environment Multifunction Remote Monitoring System*

The Design of Wireless Data Acquisition and Remote Transmission Interface in Micro-seismic Signals

The Design of Modularized Oil Tank Measurement and Control Intelligent Unit

Embedded Smart Home System Based on ZigBee Song Chi

Design of Monitoring System for Rural Drinking Water Source Based on WSN

Wireless thermal charging system based on GPRS technology 1

Research on Mine Gas Monitoring System Based on Single-chip Microcomputer

Improvement of the Communication Protocol Conversion Equipment Based on Embedded Multi-MCU and μc/os-ii

Real-time Vehicle Wireless Remote Positioning and Monitoring System Based on GPRS Network and Beidou

Design of Temperature and Humidity Data Acquisition System. Based on ARM

Design of Digital Voltmeter for Microcontrollers

Design and Simulation of Temperature Data Acquisition System based on Proteus. Jinghui Su

Agriculture Wireless Temperature and Humidity Sensor Network Based on ZigBee Technology

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

The Design of Water Quality Monitoring Cloud Platform Based on. BS Architecture

2017 International Conference on Economics, Management Engineering and Marketing (EMEM 2017) ISBN:

Intelligent bus temperature measurement system based on Zigbee networks

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

Design of SCADA power Distribution Monitoring System based on PLC and Configuration Software

Design of Underground Current Detection Nodes Based on ZigBee

The Application of Wireless Sensor in Aquaculture Water Quality Monitoring

A Field Monitor System of Rodpumped Wells Based on GPRS

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

Intelligent Computer Room Management Platform Based on RF Card

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

Remote Monitoring System of Ship Running State under Wireless Network

STUDY AND DEVELOPMENT OF MOBILE TRACING TERMINAL BASED ON GPRS FOR AGRICULTURAL PRODUCTS QUALITY TRACKING

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

A High-Speed Wireless Transmission Scheme for Wireless Sensor Network

Application of Co-simulation Technology Based on LabVIEW and Multisim in Electronic Design

Design and Implementation of Smart Gateway Based on Wireless Communication Technique

Application of Android Mobile Platform in Remote Medical Monitoring System

Power infrastructure monitoring system on Embedded Web

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

Design of Coal Mine Power Supply Monitoring System

The Controller Development of Multi-layer Parking Equipment Based on STM32

International Conference on Information Sciences, Machinery, Materials and Energy (ICISMME 2015)

, ,China. Keywords: CAN BUS,Environmental Factors,Data Collection,Roll Call.

Research on Power Quality Monitoring and Analyzing System Based on Embedded Technology

The Application of CAN Bus in Intelligent Substation Automation System Yuehua HUANG 1, a, Ruiyong LIU 2, b, Peipei YANG 3, C, Dongxu XIANG 4,D

Research on Image Sensor System Acquisition Based on ARM

Keywords: Cloud computing, ZigBee, Smart home, Security cloud

The intelligent weather station system based on Arduino

Web-based Building Energy Consumption Monitoring and Conservation Service DONG Wei1, a

Wireless Multipoint Temperature Detection System Design

The Integrated Design for Micro - environment Monitoring System of Showcase in Museum

EtherCAT Data Acquisition System Based on DMA Mode

A Low Cost Internet of Things Network for Contamination Detection in Drinking Water Systems Using Raspberry Pi

Design of Embedded Network Voice Communication Terminal Based on STM32 and μcosiii

Journal of Chemical and Pharmaceutical Research, 2014, 6(6): Research Article

The Application of Programmable Controller to Chip Design. Shihong Lan 1, Jian Zhang 2

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

Design And Implementation Of USART IP Soft Core Based On DMA Mode

The Design and Implementation of Visual Intelligent Doorbell System Xiao LIU 1,a,Fensu SHI 1,b,Pan SHI 1,Zicong LI 1

The Design of the Embedded WEB Server Based on ENC28J60

Human heart rate detector based on photoelectric volume

Design of Campus one-finger Service System Based on Fingerprint Identification

Design and Implementation of Intelligent Home Control System under the Concept of IoT

Design and Implementation of High-Speed Real-Time Data Acquisition and Processing System based on FPGA

Development and Application of Database System for Rubber Material

Applied mechanics and applied technology in fuel injection pump bench. Rotational speed measurement system design based on CPLD

Design of the Refueling Card Information Transmission System Based On DTMF

Cemetery Navigation and Information Query System Based on Android and Java Web

A Network Disk Device Based on Web Accessing

Design of Intelligent System for Watering Flowers Based on IOT

Design and Research of Virtual Instrument Development Board

REGIONAL COUNTRY INFORMATION SERVICE PLATFORM BASED ON HYBRID NETWORK

A Method of Analyzing Complexity by Effects and Rapid Acquisition of the Most Ideal Solution Based on TRIZ

Realization of Automatic Keystone Correction for Smart mini Projector Projection Screen

Design And Implementation Of Ordering System For Restaurants

IMPROVED ARTIFICIAL FISH SWARM ALGORITHM AND ITS APPLICATION IN OPTIMAL DESIGN OF TRUSS STRUCTURE

Research into a Wireless Smart Parking System

On Design and Implementation of Locomotive Video Monitoring System. Haifeng Yuan, Jie Peng

The Research about Embedded Soft PLC Running System Based on ARM

Research and Implementation of the Key Technology of UAV Aerial Image. Transmission

Greenhouse Equipment Data Acquisition and Display Platform Based on Socket Java

Design of Formaldehyde Monitoring System in Wireless Network Wang Renli 1, a. Liming2,b Zhu Lijun 1,c

Serial Communication Based on LabVIEW for the Development of an ECG Monitor

Personalized Search for TV Programs Based on Software Man

Design of Soybean Milk Machine Control System based on STC89C52. Ya-gang SUN, Yue ZHANG, Zhi-gang YANG, Rui-cheng ZHANG and Xiao-wei SHEN

HUMAN-COMPUTER INTERFACE DEVELOPMENT OF WIRELESS MONITORING SYSTEM BASED ON MINIGUI

A Study on Control System Design Based on ARM Sea Target Search

Temperature Control System of Cold Storage

A liquid level control system based on LabVIEW and MATLAB hybrid programming

Design of Substation and Distribution Station Monitoring System Based on DELPHI and Intelligent Modules

Building Energy Saving Configuration Software Data Processing System

Transcription:

International Conference on Mechatronics, Electronic, Industrial and Control Engineering (MEIC 2014) Design of Centralized Remote-reading Meter System and Intelligent etwork Water Meter Chuanfeng Li lichuanfeng@sina.com Chen Li leilacoffee@163.com Wenguang Diao litdwg@gmail.com Shuran Zhang zhangsr9@163.com Abstract This paper describes a design to develop a centralized remote-reading meter system which used to overcome shortcomings of the traditional manpower-based reading meter. The system is designed from the host computer, network meter and concentrator three parts. Concentrator is connected to the host computer, so remote meter could be read, monitored and managed by the host computer. The host computer consists of client, server, data service and database, developed by C# language and SQL Server. The network water meter is based on STC89C52RC microcontroller sending data to the concentrator through 485 bus. The concentrator taking ARM9 and Linux as the core, read meter data by 485 bus, and send data to server through Ethernet. The test results show that the remotereading meter system is accurate, simple, real-time, secure, reliable, and easy to application. Keywords- remote system; network water meter; concentrator; ARM9; Linux I. ITRODUCTIO At present, reading data of residents ammeter, water meter and gas meter is achieved by manpower. Reading meter people should take time to check meters from door to door every month, which consumes a lot of manpower, material resources, time-consuming and low accurate. To solve this, the computer-based reading meter system is used to replace manpower-based system. Remote reading meter system using intelligent information management can be put into use in residential, apartment intelligent management. Study on automatic reading meter technology abroad may be started in the 1970s, after decades of development, the technology is relatively mature, and has been widely used. In China, the development of remote automatic reading meter system started later than abroad, the traditional manual reading meter system is still widely used, which create a big potential market especially remote automatic reading meter technology developing rapidly, so automatic reading meter technology will gradually replace the traditional reading meter [1-4]. The system consists of software and hardware components, uses technologies such as embedded technology, network communication, multitask and so on. The system consists of the host computer, concentrator and network meter. Host computer is C/S structure, using multi-threading, WCF and other technologies, is responsible for data analysis, water monitoring and management. Concentrator using embedded technology is responsible for data receiving and forwarding [5]. etwork meter using SCM technology is responsible for water flow data reading and forwarding. The system is mainly used for residential, dormitory and other occasion s intelligent management, so property staff gets a real-time [6, 7]. Chapter II is mainly to analyze the system and draw a general framework map, and chapter III is mainly to analyze the specific design of host computer, set forth the specific function, the data dictionary, stored procedures and so on. Chapter IV analyzes the particular design of the concentrator and describes related technologies such as TCP, multithreading, and gives the schematic diagram of the concentrator and the associated flow chart. Chapter V is mainly analyzes specific network meter design, summarizes the specific methods of system testing, and test results. Finally, gives conclusions and future directions for improvement. II. SSTEM STRUCTURE DESIG The system consists of a host computer, concentrators, and network meters three major components. Meter using STC89C52 microcontroller reads the resident's actual water consumption at regular time, fulfills data collection, storage, transmission and other tasks. Concentrator using S3C2440 microprocessor, which has a clock speed up to 400MHz, is responsible for data forwarding and storage. Host computer using C/S structure design, consists of server, client, data service and database. When reading meter data is required, host computer send commands to the concentrator via Ethernet, the concentrator will analyze data and send codes to meters connected through 485 bus, which check received codes with inside codes, send water 2014. The authors - Published by Atlantis Press 1123

TABLE II. T_USER TABLE usage data to concentrator through 485 bus if codes received is consistent with inside codes [8]. General framework is shown in Fig.1. PC Ethernet Field name Data type Length User code varchar 30 ame varchar 20 Sex char 2 ID number varchar 18 Phone varchar 15 Address varchar 50 Water meter coding varchar 20 TABLE III. T_WATER TABLE Concentrator Fieldname Data type Length umber nchar 15 RS-485 Bus RS-485 Bus Water meter coding nchar 15 Water consumption float 0 III. Figure 1. System principal body structure DESIG OF THE HOST COMPUTER A. System Structure Host computer management system consists of server software, client side software, data service and database [9], system data flow is shown in Fig.2. Return data Database Data service Server Call service Sever command Transmit to the server Transmit to meter Figure 2. System data flow chart Client etwork meter Water meter code Concentrator B. Design of Database The system needs store client data, user data, water consuming data and reading time information, so database has corresponding table for each. Store procedures are used to fulfill operations on tables. Water consumption Time datetime 0 TABLE IV. Field name Data type Length T_ READ DATA TIME TABLE umber varchar 50 State tinyint 0 C. Design of the Server Software The function of server is mainly keeping connect with concentrator, querying table T_readingTime and checking status value in the table, if status value equals 1,meaning meter data should be upload to server; after receiving data, server decodes data and update database data, displays it at user interface. (1) Design of the Server Software Server software design process is shown in Fig.3. (2) Detection module Detection module process is shown in Fig.4. Open link Button press TCPServer ReadTimer Field name TABLE I. Data type T_ROLE TABLE TABLE TPE STLES Length Username varchar 15 Password varchar 15 Whether there is a connection? ClientFunc Figure 3. The server soft design process 1124

Data reading time If it is the last code Record the current password Thread hang up information management, user management and system settings. Data statistics is achieved based on customer name and time span, customer information module can add customers, delete customers and modify customers information, administrators can change the password through user management. Client Side functional block diagram is shown in Fig.5. Client Send to all concentrator to getdata Figure 4. The detection module flow chart D. Design of the Client Client side consists of data statistics, customer System settings User management Customer information Statistical data User login Figure 5. The client function block diagram Figure 6. Data statistics Users can query all customers water usage information, then only the total statistical query, when come to individual customer, the usage information can be queried totally or partially, User interface is shown in Fig.6. Power module Clock circuit S3C2440 Ethernet IV. COCETRATOR DESIG A. The Block Diagram of Concentrator System Concentrator based on ARM9 and Linux operation system [10,11], consists of Ethernet, serial communications, reset circuit, power supply module and so on. Concentrator system block diagram shown in Fig.7. Reset circuit 485 communication Figure 7. The block diagram of concentrator System B. System Concentrator Software Design In software design, Linux multithreading, Socket communication, serial communication, file manipulation techniques are involved. The total of four sub-systems of 1125

threads, and their function is to read data, write data via network, read data and write data via serial ports. When the program starts, it reads Sr.llz file, the file will be encoded into a single link list in order to communicate to the meter later. In Ubuntu10.04 generates an ARM executable program by arm-linux-gcc, then the program will be ported to ARM, added to the startup items, the program can automatically start at boot time. Program flow chart is shown in Fig.8. The water flow sensor mounted inlet side to detect water flow, when the flow of water through the rotor assembly, magnetic rotor and speed changes as the flow rate changes, the Hall sensor output corresponding square wave pulse signal back to the controller, which determines the dosage of the water flow, calculate the actual water consumption. Square wave pulse signal is shown in Fig.10. B. Software Design The design of water meter software adopts the modular programming, which is shown in Fig.14. Read file Connect to server Open the serial port Creates 4 threads Serialreadthread Serialsendthread etsendthread etreadthread Wait for the 4 thread ends Close(serialfd) Close(socketfd) Destroy the linked list End LCD initialization IIC initialization UART initialization If the connection concentrator? Figure 8. The concentrator design process V. THE ETWORK WATER METER DESIG etwork Water Meter is based on SCM, the main functions is reading the pulse via SCM, then make analysis and calculation, converting into water dosage, showing it in the 12864 LCD, and storing it in the AT24C16, when the data upload command is received, uploading data by 485 bus to concentrator which then upload it to host computer via Ethernet. Meter block diagram shown in Fig. 9. Power module LCD While(1) Read pulse data LCD If the serial port receive data? Sending data to the concentrator by the 485 bus Figure 14. The flow chart of water meter software design Clock circuit Reset circuit STC89C52 Figure 9. The water meter block diagram Data storage 485 communication A. Water Flow Acquisition Module In the water meter acquisition module, the water flow sensor is the core. Water flow sensor is mainly made of a plastic body, the flow of the rotor assembly and the Hall sensor. Using US-HS21TB Hall flow sensor in this water meter and the sensor is calculated as Eq.1. F(Hz)=8.1*flow rate (Q)-6(l/min) Q=L/Min (1) C. Design Testing Analysis of System When the server task starting, it will set up task execution cycle, that cycle of reading the meter data and the server reads the database. If it needs to read the water meter data, then sends commands to connect concentrators. After concentrators receives GETDATA commands, sends reading meter coding to each meter in single linked list, if consistent with its own code, meter send meter data to the concentrator through 485 bus, concentrator then send data to the server. Throughout the test, the meter data is sent to server between 0-9. D. Testing Results (1)The water meter received code from the concentrator. (2) Concentrator receives the GETDATA command, and sends code to water meter, receive water meter data. (3)The server read the database, sends GETDATA to the concentrator, receiving area displays the received data, and updates the database through analysis. (4) The part of the client reads the database and observes the updated results of water yield. Figure 10. The square-wave pulse 1126

VI. COCLUSIO This paper describes a design to develop a remote centralized reading meter system which combined software and hardware using 485 bus and Ethernet as data transmit media. Server can send read command to each concentrator via Ethernet, concentrator then send command to each water meter, water meter sent meter data to the concentrator through 485 bus after receiving the command, and then the concentrator upload data via Ethernet to the server. Client side can view and control consumers water meters. The various functions of the system basically completed, but there are some needs further improvement. Concentrator program is a terminal program, the next step to complete the interface design and realize using other database as data store. Even if the server fails or is turned off, the data can be saved in time. It will reads the data in concentrator database when the server is turned on. ACKOWLEDGMET This work was supported in part by the science and technology research project of education department of Henan Province (14A510009), the funding scheme for youth teacher of Henan Province (2012GGJS-191), the science and technology project of Henan Province (142102210568, 142102210063). REFERECES [1] Z. J. Zhang,. Li, and W. Q. uan, Meter character recognition method based on gray template matching, Proceedings of the 29th Chinese Control Conference, Beijing, China, 2010. [2] C. S. Fredrick1, Smart water metering networks an intelligent investment, Water and Wastewater International, vol. 26, pp. 16-19, 2011. [3] M. M. Al-Rawahi, Z. abeel, and M. Ahmed, A multisensory intelligent device for real-time multiphase flow metering in oil fields, IEEE Transactions on Instrumentation and Measurement, vol. 59, pp. 1507-1519, 2010. [4] R. Gomes, A. S. Marques, and J. Sousa, Decision support system to divide a large network into suitable District Metered Areas, Water Science and Technology, vol. 65, pp. 1667-1675, 2012. [5] J. J. Li, J. J. Cui, and L. L. Jiang, Design and implementation of distributed remote-reading water meter monitoring system based on SaaS,. Lecture in Electrical Engineering, vol. 107, pp. 413-420, 2012. [6]. Wu,. J. Guo,. Q. Wei, Design of the remote wireless meter reading system based on GPRS, Telkomnika- Indonesian Journal of Electrical Engineering, vol. 11, pp. 6358-6366, 2013. [7] S. R. Mounce, J. B. Boxall, and J. Machell, Development and verification of an online artificial intelligence system for detection of bursts and other abnormal flows, Journal of Water Resources Planning and Management, vol. 136, pp. 309-318, 2011. [8] C.Wang, The design of the data acquisition mode of wireless intelligent remote water meter system in the high-rise building, 2011 International Conference on Control, Automation and Systems Engineering, Singapore, 2011. [9] J. M. Li, Paradigm Development of SQL Server. Tsinghua University Press, 2010. [10] L. G. Zhou, The ARM Embedded Foundation Course. Beijing, Beijing university of aeronautics and astronautics press, 2008. [11] M. oung, The Technical Writer s Handbook. Mill Valley, CA: University Science, 1989. 1127