- 1、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
摘要 本设计以AT89C52单片机为主控制器,通过拨码开关来设置数控直流电压源的输出电压的初始值,并可由LCD液晶显示相应的输出电压值。本系统由单片机控制数字信号的输出,经过D/A转换器(DA0832)将数字量转换为电流量输出,再经过运算放大器(两级运放)隔离放大输出模拟电压量,同时可以使用外部中断0、1来实现对初始值的“+” 、“-”步进调整,步进大小为0.1V,同时可以用LCD显示输出电压范围0~+9.9V,纹波不大于10mV。此设计灵活性、准确性、效率高,有利于系统的扩展,对信号处理比较方便。 为了避免端口复用时模块之间的产生冲突,硬件电路在设计时使用了DAC0832锁存控制,及用主控器的WR(P3.6)和DAC0832的WR1、WR2直接相连,实现锁存控制。这种端口复用方式可以节省出更多的端口,方便系统功能的扩展。 关键词: 单片机 D/A转换 LCD 隔离放大 灵活 高效率 Abstract The design is based on AT89C52,and may set the initial voltage value of the Digital- DC- power system by DIP-switch , and may display the corresponding value by the LCD.The system control the value of the digital signal by the MCU ,and change the digital into the analog by the means of the D/A converter(DAC0832), through the operational amplifier (op amp 2) analog voltage isolation amplifier output volume, while the external interrupts can be used 0,1 to achieve the initial value of +, - step adjustment step size is 0.1V, while LCD can display the output voltage range of 0 ~ +9.9 V, ripple less than 10mV. This design flexibility, accuracy, high efficiency, is conducive to the expansion of the system, more convenient for signal processing. In order to avoid port conflicts between modules, hardware circuits using the DAC0832 in the design of latch control, and with the master of the WR (P3.6) and the DAC0832s WR1, WR2 directly connected to achieve latch control . This port multiplexing method can save more of the port, to facilitate the expansion of system functions. Key words:SCM,D/A converter,LCD,lsolation amplifier, flexible, High efficiency ? 目录 摘要 I Abstract II 1 绪论 1 1.1国内外研究现状 1 1.2课题研究背景及意义 2 1.3章节安排 3 2 系统设计 4 2.1设计任务与要求 4 2.1.1设计任务 4 2.1.2设计要求 4 2.2总体方案说明 5 2.2.1 方案介绍 5 2.2.2方案的论证 5 3 系统的硬件电路设计 7 3.1 主要使用器件介绍 7 3.2 硬件设计 12 3.2.1 数控部分 12 3.2.2 D/A转换及输出模块 13 3.2.3 LCD显示部分 14 3.2.4电流放大模块 15 3.2.5 电源模块 16 3.2.6 按键及其他 19 4 系统的软件设计 21 4.1 软件流程图 21 4.2软件设计 22 5 电路的测试与调试 23 5.1 测试与分析 23 5.1.1 波形输出 23 5.1.2 电压、电流输出 24 5.1.3 实际输出分析 25 5.2 电路调试中的
文档评论(0)