文档介绍:摘要
随着电子工业的发展,电子元器件急剧增加,电子元器件的适用范围也逐渐广泛起来,在应用中我们常常要测定电阻,电容,电感的大小。因此,设计可靠,安全,便捷的电阻,电容,电感测试仪具有极大的现实必要性。
在系统硬件设计中,以MCS-51单片机为核心的电阻、电容、电感测试仪,将电阻,电容,电感,使用对应的振荡电路转化为频率实现各个参数的测量。其中电阻和电容是采用555多谐振荡电路产生的,而电感则是根据电容三点式产生的,将振荡频率送入AT89C52的计数端端,通过定时并且计数可以计算出被测频率,再通过该频率计算出被测参数。
在系统的软件设计是以Keil51为仿真平台,使用C语言与汇编语言混合编程编写了系统应用软件;包括主程序模块、显示模块、电阻测试模块、电容测试模块和电感测试模块。
最后,实际制作了一台样机,在实验室里进行了测试,结果表明该样机的功能和指标得到了设计要求。
关键词:单片机,555多谐振荡电路,LED动态显示模块,电容三点式振荡
ABSTRACT
With the development of electronic industry,ponents rapidly increased the scope of ponents widely up gradually,in applications we often measured resistors,capacitors,inductors size. Therefore,the design of reliable,safe,convenient resistance,capacitance,inductance tester of great practical necessity.
In the system hardware design,take the MCS-51 monolithic integrated circuit as the core resistance,the electric capacity,the inductance reflectoscope reflector,the resistance,the electric capacity,the inductance,the use correspondence's oscillating circuit transforms for the frequency realizes each parameter the resistance and the electric capacity are use 555 multiresonant circuits to produce,but the inductance is produces according to the electric capacity bikini,the oscilation frequency will send AT89C52 the counting to be neat,through and fixed time counts may calculate by the frequency measurement rate,figures out again through this frequency meter is measured the parameter.
In system's software design is take Keil51 as the simulation platform,used the C language and the assembly language mix programming piled the system application software;including master routine module,display module,resistance test module,electric capacity test module and inductance test module.
Finally,the actual production of a prototype,tested in the laboratory results show that the prototype of the functions and indicators are the design requirements.
KEY WORDS: Single slice of machine,555 resonance swings circuit,LED dynamic display module,C