北京林业大学本科毕业论文(设计)
PAGE
北京林业大学本科毕业论文(设计)
单片机控制下可变输出电压的电源设计
全套设计加扣?3012250582
摘要
本开关电源设计采用STC12C5A60S2单片机产生的两路47KHZ的PWM脉冲信号,分别经过MOS驱动IC IR2104控制两个BUCK电路。单片机内部自带的10位ADC能通过电压电流检测电流实时反馈两路的电流和电压数值,并由此调整输出的PWM的占空比,形成电压闭环控制系统。按键能设置输出电压从0V到30V的限度,0.1V步,液晶能显示实时输出电压与电流。在额定功率1A输出的情况下,满载的供电效率为82%。经测试按键设置的输出电压的误差小于0.15V。
关键词:开关电源,BUCK,STC单片机,IR2104,可调输出
PAGE
PAGE II
Design of power supply for variable output voltage controlled by MCU
Abstract
This switching power supply design uses STC12C5A60S2 microcontrollers to produce two PWM pulse signals of 47KHZ ,then go through the IC IR2104 driven by MOS,controlling the two BUCK circuits.The 10-bits internal ADC of the MCU can detect a real-time voltage and current to feedback the output current and voltage values, then adjusting the duty cycle of the output PWM according to the feedback above ,forming a closed-loop control system of Voltage.The button sets the output voltage values ranging from 0V to 30V with 0.1V per step, the LCD screen displays a real-time output voltage and current values. With 1A output current at the rated power,the full-loaded power efficiency is about 82%.Through testing the errors brought by buttons set the output voltage are less than 0.15V.
Key words:Switching power, BUCK, STC microcontroller, IR2104, Adjustable output
PAGE
PAGE IV
目录
TOC \o 1-3 \h \u 1 绪论 1
1.1课题研究意义 1
1.2研究现状及存在问题 1
1.2.1国外研究现状 2
1.2.2国内研究现状 2
1.2.3目前存在的问题 2
1.3研究内容和方式 2
2系统分析 4
2.1 系统论述 4
2.2 Buck工作原理 4
2.2.1在电感充电的情况下 4
2.2.2在电感放电的情况下 4
2.3 Buck稳压分析 5
2.3.1 LC滤波电路参数推导 5
2.4小结 6
3硬件设计 7
3.1总体框架 7
3.2各部分电路的选择 8
3.2.1 单片机 8
3.2.2 IR2104半桥驱动电路 8
3.2.3 电路供电电源的选择 9
3.2.4 电流检测电流 9
3.2.5 电压检测电路 11
3.2.6 按键电路 11
3.2.7 液晶显示模块 12
3.3 小结 12
4软件设计 14
4.1主程序程序设计 14
4.2 按键子程序设计 14
4.3 ADC中断程序 15
5系统测试 18
5.1 实物图片 18
5.2 电压调整率测试 19
5.2.1 测试仪器 19
5.2.2 测试方式 19
5.2.3 测试结果 20
5.3 负载调整率测试 20
5.3.1 测试仪器
您可能关注的文档
最近下载
- 曲靖市会泽县2025年初中数学毕业考试模拟冲刺卷含解析.docx VIP
- 2022年内蒙古大学自考英语(二)练习题汇总(附答案解析).pdf VIP
- 中国八大菜系形成历程和背景.ppt VIP
- 古诗词三百首--行书钢笔字帖(A4纸打印).pdf VIP
- 新12J07室外工程-标准图集.docx VIP
- 2026年高考英语作文高级句型模板:议论文+应用文+写作框架+替换词汇+范文-(2).docx VIP
- 循环水、开式水、闭式水系统课件.pptx VIP
- (二诊)成都市2022级2025届高中毕业班第二次诊断性检测英语试卷(含标准答案).docx
- 中国历史文选 中国历史文选复习.docx VIP
- 医院检验科实验室生物安全管理手册.docx
原创力文档

文档评论(0)