文档介绍:摘要
本系统是一个基于单片机的数控直流电流源系统。采用单片机作为核心,辅以带反馈自稳定的串调恒压源,可以连续设定电流值。由D/A转换器TLC5615、ZLG7289、中文字库液晶显示块、放大电路和大功率调整电路组成。通过独立键盘输入给定值,由D/A转换器将数字信号转换成模拟信号,经D/A输出电压作为恒流源的参考电压,利用晶体管平坦的输出特性得到恒定的电流输出,最后用中文液晶显示输出。其中单片机选用美国TI公司的MSP430F2274作为控制核心,利用闭环控制原理,加上反馈电路,使整个电路构成一个闭环。软件方面主要利用PID算法来实现对输出电流的精确控制。系统可靠性高,体积小,操作简单方便,人机界面友好。
关键字:数控 MSP430 PID算法反馈电路单片机
Digital Controlled DC Current Source Design Based On MSP430 MCU
ABSTRACT
This system is a based on SCM numerical control dc current source system. Using single chip puter as the core, with the strings with feedback from stability constant pressure source, can tone set by continuous. By D/A converter ZLG7289, Chinese word stock TLC5615, liquid crystal display (LCD) block, amplifying circuit and high-power regulating ponent. The given value through independent keyboard input by D/A converter, converts digital signals into analog signals, the D/A constant current source voltage output as A reference voltage, using the plain output characteristic get the transistor constant current output, finally use Chinese LCD display output. One of the American pany microcontroller choose MSP430F2274 as control core, using the closed-loop control principle, plus feedback circuit, make whole circuit constitute a closed-loop. Mainly using PID algorithm software to achieve output current the precise control. The system reliability high, small volume, easy to operate, friendly man-machine interface.
Key Words:Numerical Control MSP430 PID Algorithm Feedback Circuit SCM
目录
前言 1
第一章绪论 2
课题背景 2
2
电流源简介 2
数控直流电流源的必要性 2
数控直流电流源简介 3
课题进展 3
后话 3
第二章芯片简介 4
单片机芯片MSP430F2274 4
D/A芯片TLC5615 5
TLC5615功能简介 6
TLC5615工作原理 7
ZLG7289A 芯片介绍 8
芯片简介 8
引脚说明 8
第三章系统硬件设计 10
总体方案设计与比较 10
单元电路设计 11
电源电路 11
D/A电路 12
恒流源电路 12
数码管显示电路 13
Protel 99SE介绍 14
第四章系统软件设计 16
程序语言介绍 16
16
16
16
PID算法介绍 17