STM32毕业设计论文[共34页]

上传人:哈**** 文档编号:136773881 上传时间:2020-07-02 格式:DOC 页数:34 大小:1.16MB
返回 下载 相关 举报
STM32毕业设计论文[共34页]_第1页
第1页 / 共34页
STM32毕业设计论文[共34页]_第2页
第2页 / 共34页
STM32毕业设计论文[共34页]_第3页
第3页 / 共34页
STM32毕业设计论文[共34页]_第4页
第4页 / 共34页
STM32毕业设计论文[共34页]_第5页
第5页 / 共34页
点击查看更多>>
资源描述

《STM32毕业设计论文[共34页]》由会员分享,可在线阅读,更多相关《STM32毕业设计论文[共34页](34页珍藏版)》请在金锄头文库上搜索。

1、成都理工大学毕业设计(论文) 1 基于 STM32 定时器产生 PWM 的研究 作者姓名:222 专业班级:222 指导老师:222 摘要 随着科技水平的提高, ARM 的应用越来越广泛。With the develop of technology, ARM is used in various situations. 旨在对 ARM 的深入学习,论文对 STM32 定时器产生 PWM(脉冲宽度调制)输 出进行了研究。On the intention of study on ARM, timer of STM32 produce pulses PWM (width modulation) is

2、 studied in this paper. PWM 就是某个频率占空比的方波,其应用领域包括测量,通信,功率控制 与变换,电动机控制、伺服控制、甚至某些音频放大器,因此研究 PWM 技术具有十分重要的现实意义。PWM is the square wave which has a sure duty-cycle and frequency. Its application fields include measurement, communication, power control and transform, motor control, servo control, even some

3、 audio amplifier. Therefore it is important to research PWM technology. 本设计采用 STM32 定时器产生 PWM。It is easy to use the timer of STM32 to produce PWM output. 成都理工大学毕业设计(论文) 2 STM32 的 PWM 由定时器产生,PWM 的周期即定时器定时的时间,通过计算方 波的频率,占空比,配置定时器和 IO 口,最后用示波器显示相应通道占空比的 方波即可。PWM is produced by the timer of STM32. The c

4、ycle of PWM is the timers regular time. By calculating the frequency of square wave, duty-cycle, configuring the timer and IO, then use oscilloscope displayed the PWM. 经对 STM32 开发板的研究学习,通过对 STM32 定时器等的配置,用 示波器显示,完成了 PWM 输出。Based on the STM32, by configuring the timer of STM32, PWM is displayed by os

5、cilloscope. 关键词关键词 STM32,定时器,PWM StudyStudy forfor thethe outputoutput ofof PWMPWM produceproduce byby timertimer ofof STM32STM32 BasedBased onon MDKMDK Abstract: With the development of technology, ARM is used in various situations. On the intention of study on ARM, timer of STM32 produce pulses PW

6、M (width modulation) is studied in this paper. PWM is the square wave which has a sure duty-cycle and frequency. Its application fields include measurement, communication, power control and transform, motor control, servo control, even some audio amplifier. 成都理工大学毕业设计(论文) 3 Therefore it is important

7、 to research PWM technology. It is easy to use the timer of STM32 to produce PWM output. PWM is produced by the timer of STM32. The cycle of PWM is the timers regular time. By calculating the frequency of square wave, duty-cycle, configuring the timer and IO, then use oscilloscope displayed the PWM.

8、 Based on the STM32, by configuring the timer of STM32, PWM is displayed by oscilloscope. KeyKey wordswords: STM32,timer,PWM 成都理工大学毕业设计(论文) 4 目录 第 1 章 前言.5 1.1 ARM 应用背景 .5 1.2 研究内容.6 1.3 研究成果.7 第 2 章 STM32 处理器概述 .8 2.1 STM32 简介 .8 2.2 内部资源.10 2.3 CORTEX-M3 内核简介 .10 2.4 STM32 定时器简介 .12 2.4.1 通用定时器 .1

9、2 2.4.2 高级控制定时器 .12 2.4.3 小结.15 第 3 章 PWM 概述 .16 3.1 原理.16 3.1.1 PWM 模式 .16 3.1.2 互补输出与死区插入.19 3.2 PWM 输出的实现 .21 第 4 章 软件设计.22 4.1 开发环境.22 4.1.1 STM32 的开发软件.22 4.1.2 MDK370 .22 4.2 软件实现.23 4.2.1 设计标准 .23 4.2.2 程序流程图 .25 第五章 测试及结果.26 5.1 JTAG 仿真器介绍 .26 5.2 测试.27 5.3 现象及结果.28 结论.31 致谢.32 参考文献.33 成都理工大

10、学毕业设计(论文) 5 ARM 处理器 ADC I/O 接口 键盘 RAM LED 传感器 转换器 LCD DAC EPROM主机 第第 1 章章 前言前言 1.1 ARM 应用背景应用背景 如今,学习一种处理器的就有许多ARM内核的处理器可供使用,现在社会已 步入嵌入式学习阶段。在嵌入式领域,8位处理器已经不再胜任一些复杂的应用, 比如GUI,TCP/IP,FILESYSTEM等,而ARM芯片凭借强大的处理能力和极低的功 耗,非常适合这些场合。现在越来越多的产品在选型的时候考虑到使用ARM处理 器,ARM的应用是相当的广泛。 ARM 的嵌入式控制应用如:汽车、电子设备、保安设备、大容量存储器、调 制解调器、打印机等。一个典型的 ARM 嵌入式工业控制系统的功能模块如图 1- 1 所示。 输入输出 图 1-1 ARM 嵌入式工业控制系统的

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 商业/管理/HR > 商业计划书

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号