毕业论文基于单片机的函数信号发生器教程.docVIP

  • 8
  • 0
  • 约 35页
  • 2016-04-07 发布于湖北
  • 举报

毕业论文基于单片机的函数信号发生器教程.doc

基于单片机的函数信号发生器上的设计 摘 要 函数信号发生器是一种常用的信号源,在通信、广播、电视系统范围中,都需要射频发射,这里的射频波就是载波,把音频、视频信号或脉冲信号运载出去,就需要能够产生高频的振荡器。除供通信、仪表和自动控制系统测试用外,还广泛用于其他非电测量领域。单片机构成的发生器可产生锯齿波、三角波、正弦波等函数信号,函数信号的大小周期可以用程序改变,具有线路简单、结构紧凑等优点。在设计的基础上,加上按钮控制和示波器,则可通过按钮设定所需要的函数信号频率,并在示波器上显示频率、幅值电压、函数信号。频率范围可从几个微赫到几十兆赫。函数信号发生器在电路实验和设备检测中具有十分广泛的用途。 关键词:单片机,函数信号发生器,频率,幅值 The Design of Function Generator based on Microcontroller Abstract Function Generator is a common source, in the range of communications, broadcasting and television, they all require radio-frequency (HF) emission, where the radio wave is the carrier, the audio (low frequency), the video signal or pulse signal delivery out, you need to produce high-frequency oscillator. In addition to communications, instrumentation and automatic control system testing, but also widely used in other non-electric measurement. Function Generator based on Microcontroller can produce sawtooth,triangle wave,sine wave and other wave,the size of wave can be changed with the program cycle,compact structure, and so on. In the design basis, plus the button control and the oscilloscope, you can set through the buttons needed to wave frequency, and displayed on the oscilloscope frequency,amplitude voltage waveform.Its frequency can range from a few Hz to tens of micro-MHz .The function generator experiments and equipment testing at the circuit has a very widely used. Key words: Microcontroller, the function signal, frequency, amplitude 目 录 第一章 绪论 1 1.1 函数信号发生器的发展概况 1 1.2 函数信号发生器的应用 2 第二章 系统的总体设计及目标 3 2.1 本次设计的任务及功能的实现 3 2.2 设计所需要的材料及软件 4 2.3 总体设计方案 4 第三章 硬件电路设计 6 3.1主要硬件介绍 6 3.2 单片机主要端口的分配 10 3.3 各部分的硬件电路连接 12 3.3.1 单片机最小系统及复位电路 12 3.3.2 波形选择部分 14 3.3.3 LED数码管显示电路部分 14 3.3.4 频率及幅度调节实现,及模数转换连接部分 16 第四章 函数信号发生器的软件程序设计流程 19 4.1 按钮扫描及相应的波形产生程序设计 19 4.2 LED数码管显示程序设计 22 4.3 总体的软件程序设计流程图 23 第五章 结论 25 参考文献 26 致 谢 27 附表1:程序清单 28 附表2:硬件的总体电路连接 32 第一章 绪论 1.1 函数信号发生器的发展概况 函数信号发生器是能够产生大量的标准信号和用户定义信号,并保证高精度、高稳定性、可重复性和易操作性的电子仪器。函数函数信号发生器具有连续的相位变换、和频率稳定性等优点,不仅可以模拟各种复杂信号,还可对频率、幅值、相移、函

文档评论(0)

1亿VIP精品文档

相关文档