大学毕业论文-数控恒流源设计.docVIP

  • 2
  • 0
  • 约8.65千字
  • 约 20页
  • 2016-12-31 发布于辽宁
  • 举报
目录 1总体方案论证 5 1.1系统原理 5 2 系统原理及理论分析 6 2.1单片机最小系统组成 6 2.2系统性能 6 2.3恒流原理 7 3各部分选择方安 9 3.1恒流源方案选择 9 3.2过压报警功能设计 10 3.3反馈闭环方案选择 10 3.4控制单元方案选择 11 3.5电源方案选择 11 4 软件设计 12 4.1 软件设计流程 12 4.2电流设置子程序模块SETUP 13 4.3键盘中断子程序模块KEYSCAN 14 4.4显示中断子程序模块LED 15 5软硬件结合调试步骤 15 5.1.电路测试 15 5.2通过键盘功能设置输出电流值 16 6数据测试及分析 16 6.1电流源测试结果 16 6.2纹波电流测试 17 7.结束语 19 8.参考文献 19 摘 要 本文主要阐述了:以直流电流源为核心,AT89S52单片机为主控制器,通过键盘来设置直流电源的输出电流,设置步进等级可达1mA,并可由数码管显示实际输出电流值和电流设定值。本系统由单片机程控输出数字信号,经过D/A转换器(AD7543)输出模拟量,再经过运算放大器隔离放大,控制输出功率管的基极,随着功率管基极电压的变化而输出不同的电流。单片机系统还兼顾对恒流源进行实时监控,输出电流经过电流/电压转变后,通过A/D转换芯片,实时把模拟量转化为数据量,再经单片机分析处理, 通过数据形式的反馈环节,使电流更加稳定,这样构成稳定的压控电流源。实际测试结果表明,本系统输出电流稳定,不随负载和环境温度变化,并具有很高的精度,输出电流误差范围±5mA,输出电流可在20mA~2000mA范围内任意设定,因而可实际应用于需要高稳定度小功率恒流源的领域。 关键词:压控恒流源;智能化电源;闭环控制 The Digital Controlled Direct Current Source Abstract: For the system that DC source is center and 89S52 version single chip microcomputer (SCM) is main controller, output current of DC power can be set by a keyboard which step level of 1mA can be available, while the real output current and set value can be displayed by LED. In the system, the digital programmable signal from SCM is converted to analog value by DAC (AD7543), then the analog value that is isolated and amplified by operational amplifiers, is sent to the base electrode of power transistor, so an adjustable output current can be available with the base electrode voltage of power transistor. On the other hand, The constant current source can be monitored by the SCM system real-timely, its work process is that output current is converted voltage, then its analog value is converted to digital value by ADC, finally the digital value as a feedback loop is processed by SCM so that output current is more stable, so a stable voltage-controlled constant current power is designed. The test results have showed that the system can output a stable current, which has no influence with load and environment temperature, and can output a precise current of ?mA error with a width, which ca

文档评论(0)

1亿VIP精品文档

相关文档