基于stm32的简易自动电阻测量仪(软件设计)

上传人:bin****86 文档编号:55166552 上传时间:2018-09-25 格式:DOC 页数:49 大小:2.30MB
返回 下载 相关 举报
基于stm32的简易自动电阻测量仪(软件设计)_第1页
第1页 / 共49页
基于stm32的简易自动电阻测量仪(软件设计)_第2页
第2页 / 共49页
基于stm32的简易自动电阻测量仪(软件设计)_第3页
第3页 / 共49页
基于stm32的简易自动电阻测量仪(软件设计)_第4页
第4页 / 共49页
基于stm32的简易自动电阻测量仪(软件设计)_第5页
第5页 / 共49页
点击查看更多>>
资源描述

《基于stm32的简易自动电阻测量仪(软件设计)》由会员分享,可在线阅读,更多相关《基于stm32的简易自动电阻测量仪(软件设计)(49页珍藏版)》请在金锄头文库上搜索。

1、宜宜 宾宾 职职 业业 技技 术术 学学 院院毕业设计基于基于 STM32STM32 的简易自动电阻测量仪(软件设计)的简易自动电阻测量仪(软件设计)系系 部部 电电子子信信息息工工程程 系系 专专 业业 名名 称称 电电子子信信息息工工程程技技 术术 班班 级级 电电 子子1 1 0 0 9 9 1 1 班班 姓姓 名名 尹尹 小小 东东 学学 号号 2 2 0 0 0 0 9 9 1 1 1 1 1 1 6 6 6 6 指指 导导 教教 师师 王王 伯伯 黎黎 20112011 年年 1111 月月 1010 日日目录目录摘摘 要要-2 21 1、方案论证与选择、方案论证与选择-4 41.

2、11.1 核心控制芯片核心控制芯片 -4 4 1.21.2 档位切换模块档位切换模块 -4 4 1.31.3 ADCADC 采样电路采样电路-5 5 1.41.4 显示模块显示模块 -5 5 1.51.5 键盘控制电路键盘控制电路 -5 52 2、系统设计、系统设计-6 62.12.1 系统总体思路系统总体思路 -6 6 2.22.2 系统硬件模块设计系统硬件模块设计 -7 7 2.2.12.2.1 电源电路设计电源电路设计-7 7 2.2.22.2.2 恒压源电路设计恒压源电路设计-7 7 2.2.32.2.3 档位切换电路设计档位切换电路设计-8 8 2.2.42.2.4 电压跟随电路设计

3、电压跟随电路设计-9 9 2.2.52.2.5 电机驱动电路设计电机驱动电路设计-1010 2.32.3 软件设计软件设计 -11113 3、系统测试、系统测试-12124 4、设计总结、设计总结-1313参考文献参考文献-1313附录附录-1414附录附录 1 1 主要元件清单主要元件清单 -1414 附录附录 2 2 产品实物图片产品实物图片 -1414摘摘 要要本系统由闭环恒压源电路、闭环测量电路、电机驱动电路三大部分构成。其中一路 DAC、恒压电路、电压跟随电路、一路 12 位 ADC 构成闭环恒压源电路;档位切换电路、电压跟随电路、虚拟触摸键盘、一路 12 位 ADC 构成闭环测量电

4、路;L298N 驱动电路、步进电机、4.7K 旋转式单圈电位器构成自动测量和显示电位器阻值随旋转角度变化曲线的辅助装置。恒压源所输出的 5V 电压,通过档位切换电路,加到由 TLC2202 构成的电压跟随电路上输出来,送回单片机,经过单片机内部的一路 12 位 ADC 处理后,通过程序运算,得出被测电阻的阻值,并在 3.2 寸的 TFTLCD 上显示出来。单片机给驱动电路输入相应的指令,去控制步进电机,来旋转电位器得到不同的电阻值,通过已经做好的测量装置送给单片机处理后在屏幕上显示出阻值变化的曲线。经测试,100 档时误差为 0.08%,1K 档时误差为 0.04%,10K 档时误差为 0.0

5、7%,1M 档时误差为 0.09%,电路具备自动换挡功能。通过键盘输入的要求的阻值和误差后,屏幕能显示出被测电阻阻值,并显示出该电阻是否符合筛选要求。电机旋转电位器所得到的阻值变化曲线,也能在屏幕上显示出来,精准度为 0.09573%。全部测量符合要求。关键词:关键词:闭环恒压;闭环测量;档位切换;自动测量AbstractThe system is composed of closed loop constant pressure source circuit, the closed- loop measurement circuit, drive circuit constitute thr

6、ee most of the motor. Among them all the way, constant pressure circuit, DAC voltage circuit, all the way with 12 of the closed loop constant pressure source ADC constitute circuit; The gear switching circuit, voltage followed circuit, virtual touch keyboard, and 12 of the ADC constitute a closed lo

7、op all measurement circuit; L298N drive circuit, step motor, 4.7 K rotary lap potentiometer automatic measurement and display a potentiometer resistance curve with rotation Angle of auxiliary devices.Constant pressure source output 5 V voltage, through the gear switching circuit, add to the TLC2202

8、consists of the following output voltage circuit, back to the microcontroller, single chip internal all the way after the treatment and 12 of the ADC, through the program operation, and concludes that the measured resistance of the resistance, and in 3.2 inch TFT-LCD displayed.Single chip microcompu

9、ter to drive circuit input the corresponding instruction, to control the stepping motor, to rotate the potentiometer get different resistance, through the measurement device has been ready to deal with in single chip after showed on the screen of the curve of the resistance changes.By test, 100 file error

展开阅读全文
相关资源
正为您匹配相似的精品文档
相关搜索

最新文档


当前位置:首页 > 行业资料 > 其它行业文档

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号