您好,欢迎访问三七文档
当前位置:首页 > 临时分类 > 基于单片机的电阻、电容、电感测试仪
基于单片机的电阻、电容、电感测试仪_毕业论文II摘要随着电子工业的发展,电子元器件急剧增加,电子元器件的适用范围也逐渐广泛起来,在应用中我们常常要测定电阻,电容,电感的大小。因此,设计可靠,安全,便捷的电阻,电容,电感测试仪具有极大的现实必要性。在系统硬件设计中,以MCS-51单片机为核心的电阻、电容、电感测试仪,将电阻,电容,电感,使用对应的振荡电路转化为频率实现各个参数的测量。其中电阻和电容是采用555多谐振荡电路产生的,而电感则是根据电容三点式产生的,将振荡频率送入AT89C52的计数端端,通过定时并且计数可以计算出被测频率,再通过该频率计算出被测参数。在系统的软件设计是以Keil51为仿真平台,使用C语言与汇编语言混合编程编写了系统应用软件;包括主程序模块、显示模块、电阻测试模块、电容测试模块和电感测试模块。最后,实际制作了一台样机,在实验室里进行了测试,结果表明该样机的功能和指标得到了设计要求。关键词:单片机,555多谐振荡电路,LED动态显示模块,电容三点式振荡你好IIABSTRACTIIIIIIABSTRACTWiththedevelopmentofelectronicindustry,electroniccomponentsrapidlyincreasedthescopeofelectroniccomponentswidelyupgradually,inapplicationsweoftenmeasuredresistors,capacitors,inductorssize.Therefore,thedesignofreliable,safe,convenientresistance,capacitance,inductancetesterofgreatpracticalnecessity.Inthesystemhardwaredesign,taketheMCS-51monolithicintegratedcircuitasthecoreresistance,theelectriccapacity,theinductancereflectoscopereflector,theresistance,theelectriccapacity,theinductance,theusecorrespondence'soscillatingcircuittransformsforthefrequencyrealizeseachparametersurvey.Andtheresistanceandtheelectriccapacityareuse555multiresonantcircuitstoproduce,buttheinductanceisproducesaccordingtotheelectriccapacitybikini,theoscilationfrequencywillsendAT89C52thecountingtobeneat,throughandfixedtimecountsmaycalculatebythefrequencymeasurementrate,figuresoutagainthroughthisfrequencymeterismeasuredtheparameter.Insystem'ssoftwaredesignistakeKeil51asthesimulationplatform,usedtheClanguageandtheassemblylanguagemixprogramminghascompiledthesystemapplicationsoftware;includingmasterroutinemodule,displaymodule,resistancetestmodule,electriccapacitytestmoduleandinductancetestmodule.Finally,theactualproductionofaprototype,testedinthelaboratoryresultsshowthattheprototypeofthefunctionsandindicatorsarethedesignrequirements.KEYWORDS:Singlesliceofmachine,555resonanceswingscircuit,LEDdynamicdisplaymodule,Capacitancethree-pointshock你好IV目录V目录1前言............................................................................................................................11.1设计的背景及意义.............................................................................................11.2电阻、电容、电感测试仪的发展历史及研究现状.........................................11.3本设计所做的工作.............................................................................................31.4本论文的结构安排.............................................................................................32电阻、电容、电感测试仪的系统设计....................................................................52.1电阻、电容、电感测试仪设计方案比较.......................................................52.2系统的原理框图...............................................................................................53电阻、电容、电感测试仪的系统硬件设计............................................................73.1MCS-51单片机电路的设计.............................................................................73.2LED数码管电路与键盘电路的设计...............................................................93.3测量电阻、电容电路的设计.........................................................................133.3.1555定时器简介.......................................................................................133.3.2测量电阻电路的设计.............................................................................153.3.3测量电容电路的设计.............................................................................163.4测量电感电路的设计及仿真.........................................................................173.4.1测量电感电路的设计.............................................................................173.4.2测量电感电路的仿真.............................................................................183.5多路选择开关电路的设计.............................................................................204电阻、电容、电感测试仪的软件设计..................................................................224.1I/O口的分配....................................................................................................224.2主程序流程图.................................................................................................224.3频率参数计算的原理.....................................................................................245PCB板的设计与系统的调试..................................................................................265.1PROTEL99SE的介绍与PCB板的设计........................................................265.2系统调试与系统测试.....................................................................................285.2.1系统软件调试.........................................................................................285.2.2系统硬件调试.........................................................................................285.2.3系统测试.................................................................................................326结论与展望............................................................................................................34致谢............................................................................................................................35参考文献............................................................................
本文标题:基于单片机的电阻、电容、电感测试仪
链接地址:https://www.777doc.com/doc-2343198 .html