简易电阻、电容和电感测试仪设计说明

  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

课程设计任务书

学生:专业班级:

指导教师:工作单位:信息工程学院

题目: 简易电阻、电容和电感测试仪设计

初始条件:

LM317 LM337

NE555 NE5532

STC89C52 TLC549 ICL7660 1602液晶

要求完成的主要任务:

1、测量围:电阻 100Ω-1MΩ;

电容 100pF-10000pF;

电感 100μH-10mH。

2、测量精度:5%。

3、制作1602液晶显示器,显示测量数值,并用发光二级管分别指示所测元件的类别。

时间安排:

指导教师签名:年月日

系主任(或责任教师)签名:__________ 年月日

目录

摘要 (3)

ABSTRACT (4)

1、绪论 (5)

2、电路方案的比较与论证 (5)

2.1电阻测量方案 (5)

2.2电容测量方案 (7)

2.3电感测量方案 (8)

3、核心元器件介绍 (10)

3.1LM317的介绍 (10)

3.2LM337的介绍 (11)

3.3NE555的介绍 (11)

3.4NE5532的介绍 (13)

3.5STC89C52的介绍 (14)

3.6TLC549的介绍 (16)

3.7ICL7660的介绍 (17)

3.81602液晶的介绍 (18)

4、单元电路设计 (20)

4.1直流稳压电源电路的设计 (21)

4.2电源显示电路的设计 (21)

4.3电阻测量电路的设计 (22)

4.4电容测量电路的设计 (23)

4.5电感测量电路的设计 (24)

4.6电阻、电容、电感显示电路的设计 (25)

5、程序设计 (26)

5.1中断程序流程图 (26)

5.2主程序流程图 (27)

6、仿真结果 (27)

6.1电阻测量电路仿真 (27)

6.2电容测量电路仿真 (28)

6.3电感测量电路仿真 (28)

7、调试过程 (29)

7.1电阻、电容和电感测量电路调试 (29)

7.2液晶显示电路调试 (29)

8、实验数据记录 (30)

心得体会 (31)

参考文献 (32)

附件 (33)

附件1:电路图 (33)

附件2:元件清单 (34)

附件3:程序代码 (35)

附件4:实物图 (45)

摘要

近几年来,电子行业的发展速度相当快,电子行业的公司企业数目也不断增多。这个现象带来的直接结果是电子行业方面的人才需求不断增多。所以,现在大多数高校都开设与电子类相关的专业及课程,为社会培养大量的电子行业的人才。做过电路设计的工作人员或者学生大多数使用万用表来测量一些元件参数或者电路中的电压电流。然而万用表有一定的局限性,它只能测量有限种类的元器件的参数,对于电容和电感等一些电抗元件就无能为力了。所以制作一种简便的电容电感测量仪显得尤为重要,方便电路设计人员或者高校电子类专业的学生测量电路中需要用到的电容及电感的具体值。

本次设计的思想是基于以上原因提出来的。该系统以STC89C52单片机为控制核心,搭配必要的外围电路对电阻、电容和电感参数进行测量。系统的基本原理是将电阻阻值、电容容值、电感感值的变化均转换成方波脉冲频率的变化,利用计数器测频后通过单片机做运算,最后计算出待测元件的各个参数并显示在1602液晶屏幕上。系统使用按键选择被测元件类型,使用1602液晶屏作为显示部分。测量时,只需将待测元件引脚放在测试仪的输入端,用按键操作需要测量的参数,便可以很快测出被测元器件的参数,简便易用。实验测试结果表明,本系统性能稳定,测量精度高。

关键词:STC89C52单片机电阻测量电容测量电感测量

论文类型:应用型

ABSTRACT

In recent years, the electronic industry have been developing with amazing speed, and companies based on electronics are increasing,which directly causes the growing need of electronic people. So now most universities have opened with the electronics and related professional courses for the students to nurture a large number of electronics industry professionals. Done circuit design staff or students should be used multimeter to measure the parameters of a number of components in the circuit voltage or current. Multimeter has some limitations, however, it can only measure the parameters of the limited types of components for capacitors and inductors and some reactance components on the powerless. So a simple RLC meter basis is particularly important to facilitate the circuit design staff or university students to use in the specific capacitance and inductance values.

The design idea is based on the above reasons put forward. The system uses STC89C52 micro-controller for the control of the core, with the necessary external circuit resistance, capacitance and inductance parameters which were measured. The basic principle of the system is convert the value of resistor, capacitance or inductance into the frequency of square wave pulse ,and use the counter to do after the operation through the microcontroller, and finally calculate the device under test and display various parameters in the 1602 LCD screen. Use buttons to set the type of parameter, and use 1602 LCD screen as the display part. When measured,simply put the component in the tester pin input, with the key operation parameters to be measured, and we can easily measure the parameters of the tested components, which is easy to use. Experimental results show that the system is stable and accurate.

Key words:STC89C52 Micro-controller Measurement of Resistance

Measurement of Capacitance Measurement of Inductance

Type of thesis: Applied

相关文档
最新文档