毕业论文(设计):基于单片机的PWM信号输出系统设计.doc

毕业论文(设计):基于单片机的PWM信号输出系统设计.doc

  1. 1、本文档共59页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
摘要 随着电力电子技术的飞速发展,PWM技术应用越来越广泛。同时PWM技术本身也发展迅速,各种新理论层出不穷。 本文在研究PWM技术当前发展状况基础上,设计了一种基于单片机的PWM信号输出系统。首先对系统结构和PWM软件算法进行了研究和分析,包括对各种PWM产生方法的对比分析和对称规则采样法的仔细研究以及系统的功能分区和总体结构。在总体设计完成后又设计了硬件电路各个单元模块。然后采用C语言编程实现了系统功能,完成设计目标。最后对设计的系统进行了计算机仿真。 本设计是基于单片机控制的PWM信号输出系统,系统以AT89C52单片机为核心,采用SPWM软件生成法中对称规则采样法,用扩展按键中断方式LCD1602上实时设置参数及输出状态监视。 关键词:单片机;PWM; ABSTARCT As the developing of power electronic technology, PWM technology has applying to more and more field. At the same time, PWM technology itself has taken a great progress, lots of new theory has emerged. PWM technology takes advantages of power electronic, computer technology, and modern control theory, has strong ability of anti-interference, and is more efficiency, reliable. It has applied to vast field ,such as AC converter, DC chopper. This paper firstly, analysis the situation of PWM technology’ development, then, designed a PWM signal output system based on SCM. At the beginning, we study the soft algorithm of PWM, including comparison and analysis of several PWM algorithm and deep analysis of regular-sampling. We also designed the system structure. Following , hardware and software is designed. Every hardware module is designed with the computer, and the software is written in C language. At last, we take a simulation. The system is based on AT89C52. It use buttons to input parameters. It can output single polar PWM signals. The signal’s frequency, duty-cycle, output time can be changed. What’s more, all information is showed in a LCD1602, so that it is easier to communicated with the system. Index terms: SCM; PWM; SPWM; signal; regular-sampling 目 录 1 绪论 1 1.1 PWM的背景、应用及发展趋势 1 1.2 PWM原理 1 1.3 本文的主要工作 2 2 系统方案设计 3 2.1系统PWM算法 3 2.1.1等面积法 3 2.1.2硬件调制法 3 2.1.3软件生成法 3 2.2 系统结构 5 2.3涉及元器件简介 5 2.3.1 AT89C52介绍 5 2.3.2 LCD1602简介 8 2.4 仿真工具介绍 9 2.4.1 Protues简介 9 2.4.2 Keil uVision2简介 11 3硬件电路设计 13 3.1电源 13 3.2单片机复位电路 14 3.3单片机时钟电路 14 3.4按键中断 15 3.5显示电路 16 3.6输出电路 17 3.7 SPWM测试电路 17 4 软件设计 19 4.1软件总流程 19 4.2 直流斩波PWM软件计算法

文档评论(0)

***** + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档