基于STM32的数字化电压源设计
1.无需注册登录,支付后按照提示操作即可获取该资料.
2.资料以网页介绍的为准,下载后不会有水印.资料仅供学习参考之用.
密 惠 保
基于STM32的数字化电压源设计(任务书,开题报告,论文16000字)
摘 要
数字电源是利用微处理器以数字方式控制的电路,其以数字信号处理器(DSP)或微控制器(MCU)为核心,控制对象一般为数字电源驱动器、PWM控制器等等,能实现控制、管理、监测等功能。本设计乃是以微控制器为核心的数字化电压源设计,设计中需要用到的平台为STM32单片机,本设计不仅性价比高、参考资料丰富、开发难度相对较小、成本较低,更兼具数字电源所具有的各项优势,具有极高的应用价值及研究意义。
本设计中输出的可调电压由控制信号控制。将输入的电压DC24V变为DC0-24V的可调电压输出,这部分利用专门的开关电路来实现转换。先使控制信号进入单片机(包含两种方式:端口接入方式和MODBUS通信方式),单片机实现AD转换,经调节器运算后输出PWM波(同时数码管显示输出电压值),再通过该PWM波来控制开关电路,从而将输入的24V直流电压转换为0-24V直流电压输出。本设计中将完成基于STM32F103ZET6的数字化电压源的方案制订和硬件电路的设计、软件程序的编写,并对整个系统进行软硬件调试。
关键词:STM32单片机,数字化电压源,BUCK电路
Abstract
A digital power supply is a circuit that is controlled digitally by a microprocessor. It uses a digital signal processor (DSP) or a microcontroller (MCU) as the core, and the control objects are generally digital power drivers, PWM controllers, etc., and can realize control. , management, monitoring and other functions. This design is based on the microcontroller as the core of the digital voltage source design, the design needs to use the platform for the STM32 microcontroller, this design is not only cost-effective, rich reference materials, development is relatively difficult, relatively low cost, both The advantages of digital power supply have extremely high application value and research significance. [资料来源:THINK58.com]
The adjustable voltage output in this design is controlled by the control signal. The input voltage DC24V is changed to the adjustable voltage output of DC0-24V, and this part uses a special switching circuit to realize the conversion. First make the control signal into the SCM (including two ways: port access mode and MODBUS communication mode), the SCM achieves AD conversion, after the regulator operation output PWM wave (at the same time the digital display output voltage value), and then through the PWM wave To control the switching circuit, which will convert the input 24V DC voltage to 0-24V DC voltage output. In this design, the formulating of the digital voltage source based on STM32F103ZET6, the design of the hardware circuit, the preparation of the software program, and the hardware and software debugging of the entire system will be completed.
Key Words:STM32 microcontroller, digital voltage source, BUCK circuit
目 录
第1章绪论 1
1.1 数字电源的研究背景和意义 1 [来源:http://think58.com]
1.2 数字电源的现状和发展趋势 2
1.3 课题的研究内容和章节安排 3
第2章数字化电压源的方案探讨 4
2.1 数字化电压源的系统分析 4
2.2 数字化电压源的方案选择 5
第3章数字化电压源的硬件电路设计 8
3.1 降压转换电路BUCK电路 8
3.2 BUCK电路的开关管驱动电路 10
3.3 STM32F103ZET6单片机电路 12
3.3.1 STM32F103ZET6的ADC 12
3.3.2 STM32F103ZET6的LED 13
第4章数字化电压源的软件设计 14
4.1 数字化电压源的软件流程 14
4.2 ADC1采集外部电压的设计 15
4.3 定时器输出PWM的设计 18
4.4 ADC2采集PWM波的设计 22
4.5 LCD显示和DS1闪烁的设计 24
4.5.1 LCD显示的程序设计 24
4.5.2 DS1闪烁的程序设计 25 [版权所有:http://think58.com]
第5章数字化电压源的硬件电路仿真 26
5.1 BUCK电路的仿真 26
5.2 NMOS驱动电路的仿真 29
5.3 带NMOS驱动的BUCK电路的仿真 32
第6章总结与展望 34
参考文献 35
致谢 36