摘 要
当今社会科技的飞速发展,智能和便捷已经成为人们的日常诉求。现在放大电路在使用过程中经常出现故障,并且需要测试电路数据,但是大多数是手动进行测试,一定程度上影响了工作效率。
为了测量数据更安全更便捷,针对手动测试的不足,本设计做出了一种基于STC89C51的简易电路特性测试系统。其技术上利用STC89C51单片机作为控制核心,由单片机中控模块、ADC转换模块、显示模块、开关模块、稳压模块、滤波模块和报警模块组成。该系统主要实现给定放大电路参数(输入阻抗、输出阻抗、放大倍数)和元器件故障自动测试功能,弥补了手动测试的不足。
关键词:STC89C51单片机;电路特性测试;便捷
ABSTRACT
With the rapid development of science and technology in today's society, intelligence and convenience have become People's Daily demands. Now the amplifier circuit often fails in the use process, and needs to test the circuit data, but most of the test is manually, which affects the work efficiency to a certain extent.
In order to measure the data more secure and more convenient, aiming at the shortcomings of manual testing, this design has made a simple circuit characteristic tester system based on STC89C51.Technically, it uses STC89C51 MCU as the control core, which is composed of MCU central control module, ADC conversion module, display module, switch module, voltage regulator module, filter module and alarm module.The system mainly realizes the automatic measurement function of given amplifier circuit parameters (input impedance, output impedance, amplification) and component faults, which makes up for the shortage of manual testing.
Key words:STC89C51 microcontroller;Circuit characteristic test;convenience
目 录
第1章 前言....................................................... 1
1.1 研究背景....................................................... 1
1.2 发展前景....................................................... 1
第2章 设计内容方案....................................................... 1
2.1 系统总体设计思路....................................................... 1
2.2设计方案....................................................... 2
第3章 系统硬件设计....................................................... 2
3.1 单片机中控模块....................................................... 3
3.1.1 单片机引脚图及引脚定义....................................................... 3
3.1.2最小系统....................................................... 5
3.2 数据转换模块....................................................... 6
3.2.1 ADC模数转换电路原理图....................................................... 7
3.2.2 ADC管脚定义....................................................... 7
3.3 显示模块....................................................... 7
3.3.1电子屏显示模块(LCD1602)....................................................... 7
3.3.2 LCD1602引脚定义....................................................... 8
3.4开关模块....................................................... 8
3.5滤波模块....................................................... 9
3.6 稳压模块....................................................... 9
3.7 故障告警模块...................................................... 10
3.8 总体设计...................................................... 11
第4章 系统软件设计...................................................... 12
4.1 开发环境...................................................... 12
4.2 系统程序流程图...................................................... 13
4.2.1 显示模块流程图...................................................... 13
4.2.2 ADC0832数据读取流程图...................................................... 14
4.2.3总体工作流程图...................................................... 15
第5章 系统调试...................................................... 16
结论...................................................... 17
参考文献...................................................... 18
致谢...................................................... 19
附录...................................................... 20
需要完整论文及程序点击如下链接下载: