文档详情

单片机RLC测量仪参考论文.doc

发布:2017-10-09约1.73万字共30页下载文档
文本预览下载声明
毕 业 论 文 论文题目 简易RLC测量仪的设计和实现 系 别 信息与电子信息工程 专 业 电子科学与技术 班 级 学 号 1 学生姓名 指导教师(签名) 完成时间 年 摘要 在现代生产应用中,经常需要测定电阻、电容、电感的大小。因此,设计一款可靠、便捷、人机界面友好的电阻、电容、电感测试仪具有十分重要的意义。 本系统是以单片机为核心而设计的电阻、电容、电感测试仪,即用对应的振荡电路将电阻、电容、电感转化为频率来实现各个参数的测量。其中,测量电阻值和电容值的方法是将元器件接入555多谐振荡电路,产生相应的震荡脉冲,而同样的测量电感值是根据电容三点式产生相应的脉冲,随后将振荡脉冲送入单片机的计数端,通过定时并且计数可以计算出相应的频率,再通过该频率计算出被测参数。 本系统使用C语言编写程序软件,包括主程序模块、显示模块、电阻测试模块、电容测试模块和电感测试模块和测量类型选择模块。主要用到的芯片有STC89C52,NE555,CD4052,其中STC89C52为主芯片,运用其计数和可编程计算的功能接收来自测试模块的脉冲并完成频率转换和计算,再将结果输出至显示模块;NE555芯片用于三个测试模块,即脉冲产生源;CD4052芯片则是用于测量类型的选择,即在电阻、电容、电感测试模块中选择。电路中使用LM7805稳压管稳定电路电源。 经过测试,本系统总体上达到了对电阻、电容、电感的测试的基本要求,其所测参数也基本满足设计要求,具有较好的使用价值。 关键词:单片机;555多谐振荡电路;显示模块;电容三点式振荡 Design of the RLC meter Abstract In the modern application of procreative, the numerical value of the resistor, capacitor,and inductor are often needed to measure. Therefore, it is of great significance to design a reliable, convenient and friendly man-machine interface of resistor, capacitor, inductor tester . This system, tester of resistor, capacitor, inductor ,is based on single chip microcomputer. the corresponding oscillation circuit would convert the value of resistor, capacitor, inductor into frequency to realize each parameter measurement. Among that, the measuring method of resistance and capacitance value is accessing the component to 555 harmonic oscillation circuit then produce the corresponding shock pulse. In the same way, the pulse of measuring the inductance value is coming from oscillator circuit of three-point capacitance. The oscillation pulse is sended into single chip microcomputer count point and the corresponding frequency can be calculated through timing and counting the oscillation pulse. Finally,the value of RLC can be gained by calculating frequency. This system uses C language to write programs. All modules can be divided into main
显示全部
相似文档