毕业论文

打赏
当前位置: 毕业论文 > 自动化 >

STC89C52单片机数字化电容测量仪的设计+电路图

时间:2021-04-08 21:45来源:毕业论文
以 STC89C52 单片机和 555 振荡器作为主要元件,来实现对电容容量的测量。555 振荡 器会根据所测电容值的不同产生对应的脉冲信号,然后通过 STC89C52 单片机对方波脉冲 进行中断的计数来

摘要:电容是电子设备中大量使用的电子元件之一,所以对电容的测量有着重要意义。本  设计以 STC89C52 单片机和 555 振荡器作为主要元件,来实现对电容容量的测量。555 振荡 器会根据所测电容值的不同产生对应的脉冲信号,然后通过 STC89C52 单片机对方波脉冲 进行中断的计数来测量电容,最后通过 LCD1602 显示器显示被测电容容值。在软件设计中, 使用 C 语言与汇编语言混合编程来编写程序。最后通过 proteus 仿真。该仪器具有方便快 捷,简单实用,价格低廉,精确度高等特点。65128

毕业论文关键词:电容测量,555 振荡器,STC89C52 单片机,LCD1602。

Abstract: Capacitor is one of the electronic components widely used in electronic equipments,so the measurement of capacitance is important. This design is based on STC89C52 microcontroller and 555oscillator as the main coponents,to achieve the basic capacity of capacitance measureme- nt.555 oscillator will according to the measured capacitance value different corresponding pulse signals, then through the STC89C52 microcontroller each other wave pulse interrupt counting and measurement of capacitance of, finally through the LCD1602 display shows the measured capacitance value. In the software design,using C language and assembly language mixed progr- amming to write the program.Finally through proteus simulation.This instrument has the features of convenient, simple, practical, low price and high accuracy.

Keywords: capacitance measurement, 555 oscillator, STC89C52, LCD1602.

目 录

1 前言 4

1.1 选题的背景与意义 4

1.2 电容测量仪的发展现状 4

2 整体电路设计 4

2.1 整体方案设计 4

2.2 电容测量仪工作流程说明 5

3 硬件电路设计 5

3.1 555 芯片电路 5

3.2 单片机电路设计 6

3.3 系统显示电路 7

3.4 电源设计 8

3.5 系统复位电路 8

3.6 各部分电路连接成整个电路图 10

4 系统软件设计 11

4.1 软件设计 11

4.2 程序算法设计 11

4.3 软件设计流程 12

4.4 程序编写 14

5.1 仿真图 19

5.2 误差分析 21

结论 22

参考文献 23

致谢 24

1 前言

1.1 选题的背景与意义

电容容量是电学理论分析与电路设计中的重要参数。它在电子设备中充当整流器的 平滑滤波、电源的退耦、交流信号的旁路等。固定电容的容量可直接从标称容量上读出, 而可调电容的容量则不确定。传统的测量方法都采用交流桥法和谐振法,通常采用刻度读 数,方法不够直观且笨重,操作繁琐,不能自动测量。因此,设计一个简易数字电容测量 仪作为测量工具是有必要的。

随着单片机性能的不断提高,将其应用到对电容的测量中具有方便直观与经济上廉 价的优点,并可以对软件进行校准,减少测量误差(一般能够精确在 0.5%左右)同时,通 过对 LCD 液晶的合理使用还可以使检测人员能够更直观的读取电容的数值。论文网 STC89C52单片机数字化电容测量仪的设计+电路图:http://www.751com.cn/zidonghua/lunwen_72605.html

------分隔线----------------------------
推荐内容