函数发生器软件设计.docVIP

  • 6
  • 0
  • 约2.31万字
  • 约 38页
  • 2017-11-23 发布于贵州
  • 举报
函数发生器软件设计

函数发生器软件设计 摘 要 任意波形发生器是信号源的一种,它是具有信号源所具有的特点,更因它高的性能优势而倍受人们青睐。本设计是基于80C51单片机的函数发生器,能产生方波、三角波、正弦波,并且信号的频率、幅度都可以变化,本设计的信号频率、幅度变化是通过软件来实现的,单片机输出数字信号要通过DA转换,本设计采用DAC0832芯片来实现数模转换的,转换的模拟信号幅度太小,所以后面要经过放大器进行放大,再输出模拟信号,信号的幅度和频率通过数码管来显示,共有6个数码管,前两个用来显示幅度,后四个显示频率,数码管显示采用动态显示,并且通过8255A芯片并行口扩展连接到数码管显示,本设计按键总共用到6个按键。 关键词: DAC0832芯片 8255芯片 LM324 80C51单片机 FUNCTION GENERATOR SOFTWARE DESIGN ABSTRACT The random profile generator is the supply oscillator one kind, it has the characteristic which the supply oscillator has, but time is favored because of its high performance superiority the people.This design is based on the 80C51 monolithic integrated circuit function generator, can have the square-wave, the triangular wave, the sine wave, and the signal frequency, the scope all may change, this design signaling frequency, the amplitude variation are realize through the software, The monolithic integrated circuit output digit signal must transform through DA, this design uses the DAC0832 chip to realize the digital-analog conversion, the transformation simulated signal scope too is small, therefore behind must carry on the enlargement after the amplifierAgain outputs the simulated signal, the signal scope and the frequency demonstrated through the nixietube that, altogether has 6 nixietubes, first two use for to demonstrate the scope, the latter four demonstration frequency, the nixietube demonstrated uses the dynamic demonstration, and connects the nixietube through the 8255A chip parallel mouth expansion to demonstrate, this design pressed key altogether uses to 6 pressed keys. Key word: DAC0832 chip 8255 chip LM324 80C51 monolithic integrated circuit 目 录 中文摘要 I 英文摘要 II 1 概述 1 1.1 信号发生器综述 1 1.2 研究方向及意义 2 2 设计总体方案 3 3 系统硬件设计 3 3.1 80C51最小系统设计 4 3.1.1 80C51芯片简介 5 3.2 DA转换电路设计 7 3.2.1 DAC0832芯片介绍 8 3.2.2 LM324运放介绍 11 3.3 键盘电路设计 11 3.4 数码管显示电路设计 12 3.4.1 8255A芯片介绍 13 4 系统软件设计 18 4.1 主程序设计 19 4.2 键盘及波形转换程序设计 20 4.3 DA转换程序设计 21 4.4 显示程序设计 22 5 总 结 25 致 谢 26

您可能关注的文档

文档评论(0)

1亿VIP精品文档

相关文档