您好,欢迎访问三七文档
当前位置:首页 > 电子/通信 > 综合/其它 > 基于单片机的数字功率表的设计
学校代码:11059学号:1005072039HefeiUniversity毕业设计(论文)BACHELORDISSERTATION论文题目:基于单片机的数字功率表的设计学位类别:工学学士年级专业:10级电子信息工程(1)班作者姓名:导师姓名:李海鲲完成时间:2014年5月24日I基于单片机的数字功率表的设计中文摘要现代科技的发展日新月异,特别是本世纪以来,随着互联网的推动以及电子信息技术的快速发展。人类已经进入了数字化时代。功率表一直以来都是重要的工业测量仪表,广泛应用于电工与电子技术领域。与此同时随着现代计算机技术广泛而深入的发展,单片机的使用和发展愈发的显示其重要地位。单片机渗透到我们生活的各个领域,几乎很难找到哪个领域没有单片机的踪迹。本文主要是以单片机为核心,配合适当的外围电路,通过对电压电流的采样,经过数模转换,将模拟信号转换为数字信号传入单片机,再通过编写程序,然后通过1602液晶显示屏显示所要测量的原器件的电流、电压以及功率。其中单片机的设计是整个设计中的核心部分,完成整个电路的测量、转换、显示输出,同时可实现单独对电流电压的测量显示,以及对电子器件功率的测量。本次设计可以实现对元器件的电流电压以及功率的测量,本次设计基本能够完成设计之初所达到的要求。关键词:51单片机;A/D转换器电;压电流的采样;显示屏;功率表IITheDesignofdigitalpowermeterbasedonMCUABSTRACTInrecentyears,withtherapiddevelopmentofelectronictechnology,computertechnologyandsemiconductortechnology,electricpowersystemmeasurementhasalsoundergoneagreatchange.Powermeterhasbeenindustrialinstrumentationimportant,widelyusedinthefieldofelectricalandelectronictechnology.Atthesametimewiththedevelopmentofmoderncomputertechnologywidelyanddeeply,SCMintheuseanddevelopmentofincreasinglyhadshownitsimportantstatus.Microcontrollerpenetratedintoeveryaspectofourlives,whichisalmostdifficulttofindtracesofthefieldwithoutMCU.Thispaperismainlybasedonthesinglechipmicrocomputerasthecore,withtheappropriateexternalcircuitry,bysamplingthevoltageandcurrent,throughthedigitalanalogconversion,theanalogsignalintodigitalsignalintothemicrocontroller,throughtheprogram,andthenthroughthe1602LCDdisplaycurrent,voltagetobemeasuredandthepoweroftheoriginal.SCMisthecorepartofthewholedesignisthedesignofthewholecircuit,measurement,conversion,displayandoutputcanberealizedonlyoncurrentandvoltagemeasurementsshow,hasbeenmeasuredonelectronicdevicespower.Measurementofthisdesigncanbeachievedonthedevicecurrentvoltageandpower,thisdesigncancompletethedesignatthebeginningoftherequirements.KEYWORD:51MCU;A/Dconverter;samplingvoltagecurrentpowermeter;screen;III目录第一章前言...................................................................................................................................11.1研究背景和发展现状.......................................................................................................11.2研究目的和意义..............................................................................................................2第二章系统总体方案的设计和实现..............................................................................................32.1功率表的定义..................................................................................................................32.2功率的数字测量..............................................................................................................32.3数字功率表的方案设计...................................................................................................42.4数字功率表的实现...........................................................................................................4第三章数字功率表的电路的设计..................................................................................................63.1电流电压的采样..............................................................................................................63.2A/D转换模块....................................................................................................................63.3单片机处理模块..............................................................................................................73.4液晶显示模块电路...........................................................................................................93.5电源模块电路................................................................................................................113.6报警电路系统................................................................................................................12第四章数字功率表的硬件测试与问题........................................................................................134.1功率表的测试................................................................................................................134.2测量系统的问题............................................................................................................154.3提高测量精度的一些解决办法......................................................................................154.4提高电路电流电压功率的测量范围...............................................................................154.5按键的作用和调试.........................................................................................................15第五章软件的调试......................................................................................................................175.1程序流程图....................................................................................................................175.2编译系统所需的程序.....................................................................................................175.3软件程序的调试............................................................................................................185.4数据的校正....................................................................................................................18第六章总结.................................................
本文标题:基于单片机的数字功率表的设计
链接地址:https://www.777doc.com/doc-2462542 .html