基于嵌入式的手持式自动抄表系统的研究与设计
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
电力行业已经成为了国民经济和人民生活的基础能源产业。近年来,我国电力行业也有了突飞猛进的发展。但随着我国经济社会的发展,用电量剧增,传统的人工抄表收费方式已经不能满足现代化电力管理的要求。在电能使用量大幅度增加的情况下,电力公司对电能数据的及时采集与分析工作遇到了日益严重的挑战,已经成为当前电力公司急需解决的关键问题之一。
     本文针对上述问题,基于嵌入式系统的速度快,芯片体积更小、功能更强,并且具有简单、高效、易于升级的特点,采用现代的嵌入式技术来设计手持式自动抄表系统。系统具备快速读取用户电表内的电能数据,并进行快速数据处理和数据上传的功能,能够方便抄表员采集电能数据,做到数据采集高效、无误、完整的特点。本文完成的主要研究工作内容如下:
     (1)根据设计手持式自动抄表系统的功能要求,在对国内外嵌入式技术和案例的分析、研究之后,完成了一种以STM32F103ZET6芯片为核心,具有多种外部存储器设备、红外通信设备、USB设备和以太网设备为一体的手持式自动抄表系统。
     (2)基于系统要求具有便携、快速、稳定和完整等特点,并根据嵌入式系统硬件设计要求、以及各个功能模块的软件驱动要求,设计完成了具体功能设计的程序流程,并在流程的基础上完成软件控制程序的编写。对于红外通信模块,主要完成了基于红外通信规约规范的数据抄写功能;对数据存储模块,主要完成数据在各个存储器上的数据存储功能;对数据上传模块,分别完成了通过USB和以太网两种方式进行抄表系统与上位机之间的数据通信。
     (3)对系统的硬件和软件进行了联合调试,结果表明:系统样机的各项功能基本达到了系统设计方案的要求。
Electric power industry has been become a basic industry of the national economy and people's life. The electric power industry has been get a rapid development in resent years. But with the development of economy and society, and the increasing demand of electric energy year by year, the method of traditional charges by manual meter reading can not meet the requirements of modern electric power's management. In the case of a substantial increase of electric energy consumption, how to collect and analyse data of electric energy timely has become one of most important problems which need to be solved urgently by power conpanies.
     Aiming at the problem in front page, This article uses the modern embedded technology to design a handheld automatic meter reading system.Embedded system has a lot of advantages such as faster processing speed, smaller chip and more powerful, and it is easy to upgrade with simple and efficient features. This system not only can read the energy data quickly which is stored in the user's electric meter,but also processes and uploads data rapidly.It is convenient for the electric meter readers to collect energy data efficiently, accurately and completely.The main research contents include the following aspects:
     Firstly, according to the function requirements of meter reading system,as well as analysing embedded technology at home and abroad, the handheld and automatic meter reading system is completed.The system includes the STM32F103ZET6chip as a core and some kinds of external memory^infrared communication device、USB communication device and Ethernet devices.
     Secondly, according to the feature requirements for portable, fast, stable and integrity,and based on the handware design of embedded system,as well as the software driver requirements of the various functional modules, the program flow of the design of specific functions is accomplished,And on that basis the the software control program is finished.The function of copying data which based on the infrared communication protocol is completed by the infrared communication module.The function of data storage which stored in each memory data storage capabilities is completed by the data storage module. And the function of the data communication between the system and the host computer with the methods of USB and Ethernet is completed by the data upload module.
     Thirdly, the two-sided debugging of the system's hardware and software proves that the system fufills the requiements of the system prototype.
引文
[1]中华人民共和国电力行业标准.DLT645-2007《多功能电能表通信规约》.中华人民共和国国家发展与改革委员会.2007,12,3.
    [2]STMieroelectronices.STM32F103xC/D/E DataSheet [EB/OL].2009-7
    [3]ISSI ELECTRONICS.IS61LV51216 Datasheet RevD.ISSI ELECTRONICS.2005-9
    [4]SPANSION ELECTRONICS.Flash Memory AM29LV128MH/L DataSheet.2003-7
    [5]SUMSUNG ELECTRONICS.Flash Memory K9F1G08X0A. DataSheet.2006
    [6]STMieroelectronices.STM32F101xx and STM32F103xx advanced ARM-based32-bit MCUs Reference manual,STMieroelectronices.2008.
    [7]曾乃鸿.抄表微机-手持数据终端[M],中国电力出版社,2002.
    [8]丁毓山.电子式电能表与抄表系统.中国水利水电出版社,2005
    [9]李庆昭.基于USB的通用大容量数据采集系统设计[硕士论文].合肥工业大学.2009
    [10]张国霞.嵌入式SRAM/SSRAM/FLASH控制器的设计及关键面积算法研究[硕士论文].西安电子科技大学.2009
    [11]吕韬.高速低功耗嵌入式SRAM的设计与优化[硕士论文].国防科学技术大学研究生院.2009
    [12]孟振飞.基于STM32处理器的水泵控制系统设计与实现[硕士论文].西安电子科技大学.2010
    [13]汪志刚.大容量数据采集存储系统的研究与实现[硕士论文].成都:电子科技大学.2010.
    [14]张旭,亓学广,李世光,芮昱,邱彪.基于STM32电力数据采集系统的设计[J].电子测量技术,2010,33(11):90-92.
    [15]鲁力,张波.嵌入式TCP/IP协议的高速电网络数据采集系统[J].仪器仪表学报,2009,30(2):405-409.
    [16]王铁流,李宗方,陈东升.基于STM32的USB数据采集模块的设计与实现[J]。测控技术,2009,28(8):37-40.
    [17]胡晓军,张爱成.USB接口开发技术[M].西安:西安电子科技大学出版社,2005
    [18]王成儒,李英伟.USB2.0原理与工程开发[M].北京国防工业出版社,2004
    [19]潘辉STM32-FSMC机制的NOR Flash存储器扩展技术[J],Microcontrollers & Embedded Systems,2009,10:31-34
    [20]王永虹,徐炜,等.STM32系列ARM Cortex2M3微控制器原理与实践[M].北京:北京航空航天大学出版社,2008.
    [21]谈卫星,胡建人.基于STM32的全彩LED显示屏系统的设计.电子器件,2011,34(3):258-260
    [22]张华.基于ARM的大屏幕LED显示系统的设计研究[D].成都:四川大学,2004,5.
    [23]李宁.基于MDK的STM 32处理器开发应用[M].北京:北京航空航天大学出版社, 2008,10:1-5.
    [24]李宁.ARM开发工具RealViewMDK使用入门[M].北京:北京航空航天大学出版社,2008.266-280.
    [25]王永虹,徐炜,郝立平.STM32系列为ARM Cortex-M3微控制器原理与实践[M].北京:北京航空航天大学出版社,2008.305-313.
    [26]张涛,左谨平,马华玲FatFs在32位微控制器STM32上的移植.电子技术,2010,3:25-27
    [27]谭浩强.C程序设计(第三版)[M].北京:清华大学出版社,2006.
    [28]Eran Gal.Sivan Toledo.Algorithms and Data Structures for Flash Memories.USA:data sheet,2005.
    [29]Joseph Yiu,宋岩ARM Cortex-M3权威指南.北京航空航天大学出版社,2008:135-142.
    [30]Han,A.H.,Young-Si Hwang.Virtual ARM Platform for Embedded System Developers. Audio.Language and Image Processing,2008.ICALIP 2008. International Conference:586-592
    [31]Palesko,C.A.,Palesko,A.C.Understanding the Cost Effectiveness of Embedded Technology. Electronic Manufacturing Technology Symposium,2007.IEMT 07.32IEEE/CPMT International Conference:114-117
    [32]Zhongyuan Wu, Zhiqiang Gao,Xiangqing He. A Hign performance Embedded SRAM Complier. Institute of Microelectronics. Tsinghua University
    [33]Jan M.Rabaey, Anantha Chandrakasan数字集成电路一电路、系统与设计.电子工业出版社,2004,10.
    [34]Manoj Sinha, Steven Hsu. High-Performance and Low-Voltage Sense-Amplifier Techniques for sub-90nm SRAM. Department of Electrical and Computer Engineering, University of Massachusetts, Amherst, USA,2003
    [35]K.Scott, R. Stewart, Design and Performance of IEEE 802.15.4 Compliant Receivers, Signal Processing for Wireless Communications Conference[C]2004,Kings College, London, June,2004.
    [36]张在陆,数据采集系统信号混叠的研究[J].石油仪器,1998,2:8-13
    [37]ZLG7290B数据手册V1.1,广州周立功单片机发展有限公司,2006.1.10
    [38]CH374中文数据手册2A,http://wch.cn.2009.6
    [39JDM9000A Ethernet Controller with General Processor Interface DATA SHEET.DAVICOM. 2005,4,21
    [40]刘晓峰.基于STM32的USB程序开发笔记.2008.
    [41]超英.一种易于移植和使用的文件系统FatFs Module单片机与嵌入式系统应用.2008.
    [42]马伟.嵌入式USB主机系统的研究与设计[J].计算机测量与控制,2003,11(5):381-384.
    [43]Open Host Controller Interface Specification for USB[Z]. Compaq. Microsoft, National Semiconductor,1999.
    [44]Intel. Enhanced Host Controller Interface Specification for USB[Z].2001
    [45]田泽.嵌入式系统开发与应用[M].北京:北京航空航天大学出版社,2005.
    [46]王田苗.嵌入式系统设计与实例开发:基于ARM微处理器与uc/os-Ⅱ实时操作系统(第2版)[M].北京:清华大学出版社,2003.10
    [47]张建华.嵌入式USB主机Mass Storage类的实现.科技与经济.2006,4:70-71
    [48]Lu en,Zhang Bu-han,Lu Yi-min.Automatic meter reading system solution and its realization [J].Electric Power Automation Equipment,2003,23(6):68-70
    [49]Fischer.Rochelle A,Schulz.Noel,Anderdon.Godon.Information magement for an automated meter reading system[C].Proceedings of the American Power Con-ference,2002,62:150-15
    [50]Shirai Kazuhiko,Matsubara Tatsuo,Shirozu Yasufumi.Remote automatic meter reading and telecontrol system using telephone lines[J].IEEE Conference Publication,1982,(5):82-92
    [51]IEC61850,Communication Networks and Systems in Substations Part 9-1:Specific Communication Service Mapping-Sampled Values Over Serial Unidirectionan Multidrop Point to Point Link[S].
    [52]章珏瑞,楼蔚松,邓笑天.基于嵌入式电能抄表集中器设计[J].金华职业技术学院学报,2008,12(3):35-45.
    [53]丁珍红.基于STM32的高速大容量数据采集存储系统设计[硕士论文].上海交通大学.2011
    [54]周超.基于STM32和uC/OU-II的钬钬激光治疗机控制系统设计[硕士论文].太原理工大学.2010
    [55]刘文珂.嵌入式处理器与嵌入式软件研究.电子工程师.2001,11.
    [56]潘辉,STM32-FSMC机制的NOR Flash存储器扩展技术,单片机与嵌入式系统应用.2009,10.
    [57]汪三青.基于STM32的嵌入式网络协议UIP的移植与分析.武汉理工大学,2011,5.
    [58]姜风贤.肖特基势垒光电二极管原理及应用.硅谷.2011,16.
    [59]STM32F10x微控制器参考手册,STM32 Reference Manual(RM0008),MCU技术支持.2010,1,10.