1、 本科生毕业设计(论文) 题 目 数控直流电流源 专 业 电气工程及其自动化 院 部 物理与电子工程学院 学 号 姓 名 指 导 教 师 答 辩 时 间 二 0 一 三 年 五 月 工作时间: 2012 年 12 月 至 2013 年 5 月 数控直流电流源 摘摘 要要:本设计以 STM32 单片机为控制核心,以降压斩波芯片 TPS5430 为系统电 源供电模块,交流 220V 电压经过电源变压、整流、滤波后接入降压斩波芯片中, 经过降压后,使输出电压小于 10V。然后连接到 MOS 管及其精密采样电阻中。负 载端串联的精密电阻将变化的电流转换成电压, 然后经过运算放大器将微弱电压 信号放大,
2、再利用 STM32 自带的 12 位 AD 对输出电流进行实时采样,然后利用微 控制器及其 PID 算法运算、调节,最后由微控制器控制 DAC8568 输出相应电压到 MOS 管的 G 极,通过控制 G 极的电压,动态的稳定输出电流。 该系统主要由电源变压电路、整流电路、滤波电路、降压斩波电路、直流稳 压电路、采样电路、显示与控制电路组成。其中降压斩波电路主要是供给系统恒 流电路供电,直流稳压电路主要供给控制器系统供电,采样电路实时采集输出电 流,再由控制器分析、计算,稳定输出电流。显示控制电路主要是设定输出电流 大小及其实时显示输出电流值。 关键词关键词:STM32;精密电阻;稳压;斩波 D
3、igital Controlled Constant Current Source Abstract: : This design by STM32 microcontroller as the control core, step-down chopper TPS5430 chip as the system power supply module, ac 220 v voltage after the power transformer, rectifier, filter access step-down chopper chip, after ecompression, make th
4、e output voltage is less than 10 v. And then connect to the MOS tube and its precision of sampling resistance. Load series precision resistance will change current into a voltage, and then through the operational amplifier will weak voltage signal amplification, using STM32 own 12 AD to real-time sa
5、mpling of output current, then use micro controller and the PID algorithm operation, adjustment, finally is controlled by a microcontroller DAC8568 output voltage corresponding to the MOS tube of G, G control through the voltage, the dynamic stability of output current. The system is mainly composed
6、 of a power transformer, rectifier circuit, filter circuit, step-down chopper circuit, dc voltage regulator circuit, sampling circuit, display and control circuit. The buck chopper circuit is mainly a cross-flow circuit power supply system, power supply, the control system of dc voltage stabilizing circuit main supply real-time collection and output current sampling circuit, again by the