Software and Hardware Design of TM Water Meter Control System based on SoC
摘要: 随着我国信息产业的飞速发展,金卡工程的全面实施,自来水收费管理也必将朝着电子化、信息化方向发展。本文以TM卡式智能水表控制系统为研究对象,详细论述了TM卡水表的设计和实现,系统地介绍了基于单片机的TM卡水表控制系统的硬件结构和软件实现,采用软硬件结合的技术,提出了系统的抗干扰措施。
关键字: 水表;控制系统;单片机;
Abstract: As the rapid development of the information industry in our country, the water charge management will become electrification and informatization. This paper takes intelligent water-meter system based on TM card as the research object, and the design and realization of TM card-based water meter is discussed in detail. The thesis systematically introduces hardware structure and software realization on the control system of TM card-based water meter, which adopts P87LPC764 one-chip computer as the core. According to the combination of software and hardware, the measures about anti-jamming are put forward.
Keywords: Water Meter; Control System; SoC
1 引言
随着社会科学技术的高速发展,资源短缺现象日益严重,尤其是与人类生存息息相关的水资源。随着我国信息产业的飞速发展,实现自来水收费管理的电子化、信息化及网络化已成为可能。水表系统的智能化可以大大提高供水管理部门的工作效率,节约费用,用以改善供水设施,提高居民饮用水质量。本文以一种智能卡式水表控制系统为研究对象,它结合了控制技术、计算机技术等多方面技术,是一种跨专业的电子信息化系统。
2 智能水表控制系统的总体结构
智能水表控制系统具体实现水表的自动计量水流量、读写TM卡、控制阀门、显示报警等功能。控制系统电路由低功耗单片机、流量计、E2PROM存储电路、TM卡读写电路、LCD显示控制电路、阀门控制检测电路、电压检测电路等组成。结构原理如图1所示。