您好,欢迎访问三七文档
电子设计与实践(提高篇)期末报告题目基于单片机的电阻、电容、电感测试仪姓名学号专业、年级联系电话授课教师2013年5月30日-1-摘要随着电子工业的发展,电子元器件急剧增加,电子元器件的适用范围也逐渐广泛起来,在应用中我们常常要测定电阻,电容,电感的大小。因此,设计可靠,安全,便捷的电阻,电容,电感测试仪具有极大的现实必要性。在系统硬件设计中,以MCS-51单片机为核心的电阻、电容、电感测试仪,将电阻,电容,电感,使用对应的振荡电路转化为频率实现各个参数的测量。其中电阻和电容是采用555多谐振荡电路产生的,而电感则是根据电容三点式产生的,将振荡频率送入AT89C52的计数端端,通过定时并且计数可以计算出被测频率,再通过该频率计算出被测参数。在系统的软件设计是以Keil51为仿真平台,使用C语言与汇编语言混合编程编写了系统应用软件;包括主程序模块、显示模块、电阻测试模块、电容测试模块和电感测试模块。最后,实际制作了一台样机,在实验室里进行了测试,结果表明该样机的功能和指标得到了设计要求。关键词:单片机,555多谐振荡电路,LED动态显示模块,电容三点式振荡ABSTRACT2ABSTRACTWiththedevelopmentofelectronicindustry,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-pointshock3目录1前言...............................................................................................................................................11.1设计的背景及意义......................................................................................................................11.2电阻、电容、电感测试仪的发展历史及研究现状...................................................................11.3本设计所做的工作......................................................................................................................31.4本论文的结构安排......................................................................................................................32电阻、电容、电感测试仪的系统设计..........................................................................................42.1电阻、电容、电感测试仪设计方案比较...................................................................................42.2系统的原理框图..........................................................................................................................43电阻、电容、电感测试仪的系统硬件设计..................................................................................63.1MCS-51单片机电路的设计.........................................................................................................63.2LED数码管电路与键盘电路的设计............................................................................................83.3测量电阻、电容电路的设计....................................................................................................123.3.1555定时器简介....................................................................................................................123.3.2测量电阻电路的设计..........................................................................................................143.3.3测量电容电路的设计..........................................................................................................153.4测量电感电路的设计及仿真....................................................................................................163.4.1测量电感电路的设计..........................................................................................................163.4.2测量电感电路的仿真..........................................................................................................173.5多路选择开关电路的设计........................................................................................................194软件设计......................................................................................................................................214.1主程序流程图............................................................................................................................214.2频率参数计算的原理................................................................................................................225系统测试......................................................................................................................................2311前言1.1设计的背景及意义目前,随着电子工业的发展,电子元器件急剧增加,电子元器件的适用范围也逐渐广泛起来,在应用中我们常常要测定电阻,电容,电感的大小。因此,设计可靠,安全,便捷的电阻,电容,电感测试仪具有极大的现实必要性。通常情况下,电路参数的数字化测量是把被测参数传换成直流电压或频率后进行测量。电阻测量依据产生恒流源的方法分为电位降法、比例运算器法和积分运算器法。比例运算器法测量误差稍大,积分运算器法适用于高电阻的测量。传统的测量电容方法有谐振法和电桥法两种。前者电路简单,速度快,
本文标题:电子设计报告
链接地址:https://www.777doc.com/doc-77059 .html