电工系毕业设计.doc

  1. 1、本文档共31页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
电工系毕业设计

摘 要 信号发生器是一种常用的信号源,如今广泛地应用于电子电路、自动控制系统和教学实验等领域。在科学研究、工程教育及生产实践中,如工业过程控制、教学实验、机械振动试验、动态分析、材料试验、生物医学等领域,常常需要用到低频信号发生器。而在我们日常生在活中,以及一些科学研究中,锯齿波、正弦波和波信号是常用的基本测试信号。 本设计以STC89C52单片机为数据处理和控制核心,在单片机的输出端口接DAC0832进行D/A转换,再通过运算放大器LM324进行波形调整,最后输出波形接在示波器上显示。可产生方波、三角波、正弦波、锯齿波四种低频波形,其中,波形的频率和幅度由程序控制,波形的选择以及波形频率和幅度的调整,可通过扩展在单片机外围的按键来控制。本设计具有线路简单、波形调整方便、结构紧凑、价格低廉、性能优越等优点。 关键词:数据处理;数模转换;信号发生器;波形调整 broadly applied at the electronics electric circuit, auto control system and teaching experiment etc. Scientific research, engineering, education and production practice, such as industrial process control, teaching experiment, mechanical vibration test, dynamic analysis, material testing, biomedical and other fields, often need to use low frequency signal generator. In our daily life in living, and some scientific research, sawtooth and sine wave, triangle wave,square wave signal is commonly used in the basic test signals. this design uses STC89C52 as the core of data processing and control, the output port of MCU connect DAC0832 to carry on D/A transformation, then, adjusting the waveform through the operational amplifier, finally, the output waveform will be displayed in oscilloscope. It can create four low frequency waveforms, such as square wave, triangle wave, sine wave and sawtooth wave. The frequency and amplitude waveforms are controlled by software, and we can change them through the keyboard that connected with the MCU. All in all, this system has advantage of simple and compact structure, convenient adjustment of wave, low cost and superior performance, etc. Key words :data processing; D/A transformation; signal-generator; wave adjustment 目 录 1 绪论 1 1.1 课题背景 1 1.2 研究目的和意义 1 1.3 发展历史与现状 2 2 硬件电路设计 3 2.1 设计思路 3 2.2 控制模块 4 2.3 DA转换模块 5 2.5 MCU复位电路 7 2.6 晶振电路 7 2.7 I/V转换电路 8 3 软件程序设计 10 3.1 软件设计思路 10 3.2 方波程序 12 3.3 锯齿波程序 13 3.4 正弦波程序 14 3.5 三角波程序 16 4 软件仿真 18 4.1 软件仿真 18 4.2 仿真结果 19 4. 3仿真遇到的问题 21 5 硬件安装与调试 22 5.1 硬件测试定义和目的 22 5.2 焊接 22 5.3 硬件电路调试 23 5.4 调试中出现的问题及解决方法 25 6 总结 2

文档评论(0)

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

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

1亿VIP精品文档

相关文档