基于单片机的可调稳压电源
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
摘要
随着电力电子技术的迅速发展,直流电源应用非常广泛,其好坏直接影响着电气设备或控制系统的工作性能。目前,市场上各种直流电源的基本环节大致相同,都包括交流电源、交流变压器、整流电路、滤波稳压电路等。直流稳压电源是电子技术常用的设备之一,广泛的应用于教学、科研等领域。传统的多功能直流稳压电源功能简单、难控制、可靠性低、干扰大、精度低且体积大、复杂度高。传统直流稳压电源对输出电压通常采用粗调的方式来完成,调节精度不高,当需要输出电压在一个很小范围内进行调节时,传统的直流稳压电源就难以办到,严重影响了稳压电源的使用范围。而基于单片机控制的直流稳压电源能较好地解决以上传统稳压电源的不足。该电源具有电压调整简便、电压输出稳定、便于智能化管理等特点。其良好的性价比更能为人们所接受,因此,具有一定的设计价值。
基于单片机的智能高精度直流稳压电源,结合了最先进的单片机控制技术采用高性能基准稳压电力电子元件,稳压调压精度高而且抗干扰能力强,克服了传统直流稳压源的缺点。同时整个控制系统具有完善的保护电路,大大提高了设备的使用寿命。随着电力电子技术的成熟,单片机价格越来越经济,且集成度相当高,大大减少了直流电源系统开发成本,具有明显的工程实际应用价值。
关键词:稳压电源,单片机,PWM ,直流电源,电压调节LM317
1
Abstract
With the rapid development of the power electronic technology, dc power very extensive, its direct impact on the electrical equipment or control systems work. At present, the market the basic link various dc power supply, including approximately the same ac power, communication transformer, rectifying circuit voltage circuit, filter. The direct current voltage-stabilized source is one of the commonly used equipment of electronic technology, widely used in teaching, scientific research, etc. The traditional multi-function dc manostat function is simple and difficult to control, reliability, low interference, low accuracy and large size, complexity high. when need output voltage in a small adjusted, within the scope of traditional dc manostat is difficult to do, and this seriously influences the scope of application of voltage stabilizer. And based on single chip microcomputer control dc voltage stabilizer can well solve the above traditional manostat shortage. The power supply voltage adjustment is simple, with voltage output stability, facilitate intelligent management etc. Characteristics. Its good price more can be accepted by people, therefore, has some of the design value.
Based on single chip microcomputer intelligent high-precision dc manostat, combined with the most advanced single-chip microcomputer control technology by high performance benchmark voltage power electronic components, overcome traditional dc voltage source faults. Meanwhile the control system has perfect protection circuit, greatly improving the life of the equipment. Along with the power electronic technology maturity, growing economy, and SCM price integration quite high, and greatly reduces the dc power system development costs, significant practical value.
Keywords: manostat, microcontroller, PWM, dc power, voltage regulation LM317
2
目录
摘要 (1)
Abstract (2)
一、整体设计分析 (4)
1.1 方案比较 (4)
二、部分电路组成元件简介 (6)
2.1 LM317简介 (6)
2.2控制核心 (6)
2.2 显示效果 (9)
三、系统硬件设计 (10)
3.1单片机最小系统: (10)
3.2显示模块 (11)
3.3工作电路设计 (12)
四、软件设计 (13)
4.1 编程语言的选择 (13)
4.2 脉冲产生机理的简要介绍: (14)
4.3 STC12C系列的PWM控制模块 (17)
4.4数码管的驱动实现 (18)
4.5按键的软件实现 (19)
4.5.1按键的软件设计思想 (19)
五、调试与分析 (21)
参考文献 (22)
致谢 (23)
附录一、整体电路 (24)
附录二、程序代码 (25)
3