基于单片机的直流电源设计 摘要:该设计利用 STC89C52 单片机作为主控器,通过按键来控制输出电压,设计步进为0.1V,输出电压范围为 0V—12V,但由于硬件芯片存在漏电流的影响,做实物时输出电压范围调整为 2.4V—12V,由 LCD1602 显示电压设定值。由单片机程控设定数字信号通过 D/A 转换芯片 TLC5615 输出模拟量, 经运放放大再滤波之后输出。关键词:51 单片机;TLC5615;电源AbstractThe design with STC89C52 microcontroller as the main control unit, the key to control the output voltage, design step 0.1V, the output voltage range of 0V ---- 12V, but due to the influence of the leakage current hardware chip, do real output voltage adjustment range is 2.4V - 12V, by the LCD1602 display voltage set value. By the single-chip programmable set digital signal through D / A conversion chip TLC5615 output analog, the op amp amplification and filtering the output.Key words: 51 MCU; TLC5615; Power Supply目录一:引言......................................................................................................................................- 1 -二:硬件系统设计......................................................................................................................- 2 -2.1:功能要求.....................................................................................................................- 2 -2.2:系统框图.....................................................................................................................- 2 -2.3:输入电源模块的设计.................................................................................................- 3 -2.4:参考电压模块的设计.................................................................................................- 3 -2.5:单片机电路的设计.....................................................................................................- 4 -2.6:显示模块设计........................................................