1、 毕业设计 项目名称:项目名称: 数控直流电流源的设计数控直流电流源的设计 系系 别:别: 电子电气工程系电子电气工程系 专专 业:业: 电气工程及其自动化电气工程及其自动化 姓姓 名:名: 学学 号:号: 指导教师:指导教师: xx 2012 年 5 月 12 日 2 数控直流电流源设计数控直流电流源设计 摘要:本系统以直流电流源为核心,AT89S52 单片机为主控制器,通过键盘来 设置直流电源的输出电流,设置步进等级可达 1mA,并可由数码管显示实际输 出电流值和电流设定值。本系统由单片机程控输出数字信号,经过 D/A 转换器 (AD7543)输出模拟量,再经过运算放大器隔离放大,控制输出
2、功率管的基极, 随着功率管基极电压的变化而输出不同的电流。 单片机系统还兼顾对恒流源进行 实时监控,输出电流经过电流/电压转变后,通过 A/D 转换芯片,实时把模拟量 转化为数据量,再经单片机分析处理, 通过数据形式的反馈环节,使电流更加 稳定,这样构成稳定的压控电流源。实际测试结果表明,本系统实际应用于需要 高稳定度小功率恒流源的领域。 关键词关键词:压控恒流源 智能化电源 闭环控制 3 Constant Current Resource Digital Controlled Abstract: In this system the DC source is center and 89S52
3、 version single chip microcomputer (SCM) is main controller, output current of DC power can be set by a keyboard which step level reaches 1mA, while the real output current and the set value can be displayed by LED. In the system, the digitally programmable signal from SCM is converted to analog val
4、ue by DAC (AD7543), then the analog value which 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 conver