预览加载中,请您耐心等待几秒...
1/10
2/10
3/10
4/10
5/10
6/10
7/10
8/10
9/10
10/10

亲,该文档总共61页,到这已经超出免费预览范围,如果喜欢就直接下载吧~

如果您无法下载资料,请参考说明:

1、部分资料下载需要金币,请确保您的账户上有足够的金币

2、已购买过的文档,再次下载不重复扣费

3、资料包下载后请先用软件解压,在使用对应软件打开

摘要本科毕业设计(论文)PAGEIV单相数字电度表设计摘要随着经济的迅速发展,用电量日益增加,为电网的稳定运行带来了诸多不良因素。国家采取多费率用电政策,以消峰填谷,平衡用电。复费率电度表已经大规模取代了单一费率电度表。随着单片机技术的日益发展,以单片机为主控芯片的数字电度表的生产已成规模。但是价格低廉、运行稳定、可靠性高、抗干扰能力强的数字电度表还有待开发。本设计是基于单片机STC89C52RC的单相电度表设计,能实现家庭用电计费,并能完成分时计费功能,本设计还有数字钟的功能,能够显示时间,还配有三个按键能够对时间进行调整。硬件外围电路采用模块化设计,其中电压电流采样模块实现了将电网中的不可直接测量的大电压大电流转变成为可以用来处理测量的小电压小电流。把采集的数据通过ADC0832把数据送给单片机,电源模块为整个智能电表提供了稳定的电源,LCD1602模块为用户提供了清晰,实时的电量信息。软件分为启动前的动态自检程序,计量电量的电能脉冲采集程序,数据信息处理和交换的数据存储程序,通讯中断子程序。在单片机的核心控制下,实现了数字电度表电能分时段计量、数据通信等功能。关键词:数字电度表,STC89C52RC,分时计费,数字钟THEDESIGNOFSINGLE-PHASEDIGITALAMMETERABSTRACTWiththedevelopmentofeconomyandtheincensementoftheelectricalquantity,therunningofthegridisthreatenheavily.ThegovernmentofChinahasadoptedthepolicyofdifferentpricesoftheelectricalpower,inordertokeepbalanceoftheelectricalquantityconsumption.Multi-tariffWatt—hourMeterhastakenthepositionofthesingle-tariffWatt-hourMeterwidely.Withthedevelopmentofsingle—chipTechnology,theresearchofdigitalWatt·hourMeterisproducedinahugerange.But,thelow-priceMeterwhichrunsstablyandhasstrongabilitytoresistinterferencestillneedtobedesigned.Thedesignofsingle-phasedigitalammeterisbasedSTC89C52RC.Itcanbillthepowerwhichyouused.Italsocancometruetime-divisioncharge.Thisdesignstillhasthreekeystoadjustthetime.Thispaperdescribesthecourseofdevelopmentofdomesticelectricityammetersandthecurrentmainstreamammeterstocontrastandresearchthemoreadvancesingle-phasedigitalammeteronthecurrent.Theperipheralhardwareadoptedmoduledesign.VoltageandelectricitymoduleconvertsthehighvoltageandelectricitytolowonesthatCanbemeasured.ADC0832transmitsthedatawhichthecircuitcollectstothesinglechip.Thesourcemoduleprovidesthewholesystemstablepower.ThenthesinglechipprocessthedataanddisplayinLCD1602.LCDmoduleprovidesuserswithclearandreal—timeenergyinformation.Softwareincludesdynamiccheckingmodule,powerpulsecollectionmodule,datastoringandexchangingmodule,interruptedCommunicationmodule.UnderthecontrolofthesinglechipSTC89C52RC,thewholesystemCanmeasuretheelectricalquantityin