摘要目前,我国供电部门普遍存在“收费难”的问题,大量的电费不能及时回收,影响和制约着电力企业的发展。预付费电能表采用“客户先购电,后用电”的电力营销模式,凸现了电量的商品属性。本文的研究目的就是实现电能的准确计量,搭建用户与售电管理部门之间的安全通信桥梁,实现基于射频识别技术(RadioFrequencyIdentification,RFID)的预付费功能,为电能的科学管理提供可靠依据。本文介绍了基于RFID+STS的预付费单相电能表的基本工作原理,提出了将射频识别技术与IEC62055-41标准传输协议(StandardTransferSpecification,STS)相结合(RFID+STS)的预付费单相电能表设计方案,这种设计充分发挥了射频卡无需电源供给、非接触和STS协议通用性好、安全性好的优点,为居民用户电能表管理从手工抄表、IC卡管理向自动化管理过渡的过程增强了安全保障度,是解决目前预付费电能表售电系统标准不统一的弊端的理想解决方案。全文共分为七部分:第一章为绪论,简要介绍电能计量仪表的发展历程,分析目前常见的几类预付费电能管理系统的优劣,简述RFID系统的组成和工作原理;第二章介绍基于RFID+STS的预付费单相电能表的基本功能,简要说明系统的构成、工作流程和软件开发环境与运行平台;第三章讲述以ADE7755为计量采样芯片的单相电能表计量单元设计,介绍ADE7755的芯片结构和工作原理,以及电能表的信息处理核心MSP430F147的主要特点,给出计量单元与信息处理单元电路设计方案;第四章详细介绍射频接口电路设计,给出硬件原理图与工作流程图;第五章介绍基于RFID+STS的预付费单相电能表系统的通信网络结构,详细论述光电通信接口电路的硬件设计方案和软件设计流程,重点介绍IEC62056-21和STS通信规约,详细说明RFID通信中采用的3DES加密算法的工作原理,用实例解析系统中的三类STS数据,完整呈现STS协议的数据结构;第六章分析仪器的误差来源,介绍剔除误差的主要方法,从抗干扰设计、低功耗设计和信息安全性设计三个方面论述基于RFID+STS的预付费单相电能表的可靠性设计技术;结束语部分总结本文的创新,指出后续工作方向。实际运行表明,作者设计的基于RFID+STS的预付费单相电能表读写稳定、抗干扰能力强、数据传递可靠、管理实时便捷,计量与管理功能满足国际国内有关标准的要求。关键词:预付费电能表;射频识别技术;STS协议;射频卡;预付费协议;单相电能计量芯片ADE7755AbstractTheproblemofelectricityfeeretrievingisanobstacleholdingbackthedevelopmentofChineseelectricityprovider.Theprepaymentmeteradoptsakindofmarkingmode,“Buyfirst,Uselater”,whichindicateselectricalenergyiscommodity.Theresearchpurposeistorealizetheaccuratemeasuringofenergy,buildthecommunicationtiesbetweencustomersandtheelectricitymanagement,implementtheprepaymentfunctionbasedonRFIDandprovidereliableevidenceforscientificmanagementonenergy.Theprincipleofthemeterwasintroduced,andamethodofenergysalemanagementthatintergradesRFIDandIEC62055-41standardtransferspecificationwasdeveloped.Themethodmakesfulluseoftheadvantagesthatradiofrequencycardispassivity,connectless.Itwillguidetheinhabitant’selectricitymanagementtowardautomationfromtheartificialmeteringworkandICcardmanagement,andsolvestheexistingproblemthattherearetoomanyprepaymentprotocolstobefollowed.Thisthesisconsistsof7chapters.Thefirstchapterintroducedthedevelopmentcourseofenergymeter,analysedseveralexistentprepaymentenergymanagementsystems,anddiscussedthestructureandprincipleoftheRFIDsystem.Thesecondchapterdescribedthefunction,structure,process,anddevelopment/operationenvironmentofthesingle-phaseprepaymentmeterbasedonRFID+STS.ThethirdchaptergavethestructureandprincipleofADE7755,discussedthecharacteristicofMSP430F147,anddesignedthemeasurementpartandinformation-processingparthardware.Thefourthchaptergavethehardwareandflowchartoftheradiofrequencyinterface.Thefifthchapterintroducedtheframeworkofwirelesscommunicationnetwork,Hardwareandsoftwaredesignofcommunicationinterfacecircuit,studiedtheIEC62056-21,STS,andmathematicalprincipleof3DESindetail.Thesixthchapteranalyzedmeter’serrorsandcorrespondingsolution,discussedanti-disturbance,low-powerandinformation-saftydesigntoimprovereliabilityoftheprepaymentmeter.Finally,thedeficienciesofthethesisweresummarized,andtheimprovementmethodswereproposed.Theproductionpracticesshowsthattheradiofrequencycardreadsandwritesstably,hasstrongabilityofanti-interference,deliversdatacredibly,andthemanagementisreal-timeandconvenience.Keywords:Prepaymentmeter;RFID;STS;Radiofrequencycard;Prepaymentprotocol;ADE7755目录摘要Abstract第一章绪论...........................................................................................................11.1电能计量仪表的发展历程.....................................................................................11.2现有的预付费电能表系统.....................................................................................21.2.1接触式IC卡预付费系统.............................................................................31.2.2Keypad式电能表预付费系统.....................................................................31.2.3基于射频识别技术(RFID)的预付费电能表系统................................41.3本文研究的主要内容.............................................................................................5第二章基于RFID+STS的电能表系统构成.............................................................72.1系统的构成..............................................................................................................72.2电能表的工作流程..................................................................................................82.3系统的功能..............................................................................................................92.4软件开发环境与运行平台...................................................................................10第三章基于RFID+STS的电能表计量单元设计....................................................123.1单相电能计量芯片ADE7755..............................................................................123.1.1ADE7755芯片结构....................................................................................123.1.2ADE7755工作原理....................................................................................133.2计量单元电路设计................................................................................................143.3信息处理单元电路设计.......................................................................................153.3.1电能表的嵌入式信息处理芯片...........