函数信号发生器(三角波梯形波正弦波).docVIP

  • 50
  • 0
  • 约1.7万字
  • 约 35页
  • 2021-12-06 发布于安徽
  • 举报

函数信号发生器(三角波梯形波正弦波).doc

PAGE PAGE 26 电子课程设计 题目: 函数信号发生器的设计 学院:    机械工程学院          班级: 测控技术与仪器               学号:            指导教师: 摘要: 该函数发生器采用AT89S51 单片机作为控制核心,外围采用数字/模拟转换电路(DAC0832)、运放电路(1458N)等。电路采用AT89S51单片机和一片DAC0832数模转换器组成函数信号发生器,在单片机的输出端口接DAC0832进行DA转换,再通过运放进行波形调整,最后输出波形接在示波器上显示。它具有价格低、性能高和在低频范围内稳定性好、操作方便、体积小、耗电少等特点。由于采用了1458N运算放大器,使其电路更加具有较高的稳定性能,性能比高。此电路清晰,出现故障容易查找错误,操作简单、方便。 本设计主要应用AT89S51作为控制核心。硬件电路简单,软件功能完善,控制系统可靠,性价比较高等特点,具有一定的使用和参考价值。 关键词:AT89S51、DAC0832、波形调整 【Abstract】: For special requirement the function generator using AT89S51 microcontroller as the control, external analog / digital conversion circuit (DAC0832), op-amp circuit (1458C) and so on. AT89S51 microcontroller circuit and an integral function DAC0832 digital-signal generator, the microcontroller output port connected to DA converter DAC0832, and then wave through the op amp to adjust the final output connected to the oscilloscope waveform display. It has a low cost, high performance and low frequency range, good stability, easy operation, small size, low power consumption and so on. As a result of 1458G operational amplifier circuit to a more stable performance with high performance is high. The circuit clear, easy to find failure error, simple and convenient. The design of the main application AT89S51 as the control center. Simple hardware circuit, software, functional, and reliable control system, high cost performance characteristics, has some use and reference. ?Key words: AT89S51, DAC0832, waveform adjust 目 录 1、设计概述 1.1、设计任务4 1.2、方案选择与论证4 1.3、系统设计框图5 2、硬件电路设计5 3、软件系统设计 3.1、阶梯波设计思想及流程图13 3.3、三角波和正弦波设计思想14 4、系统软件仿真 4.1、protues仿真原理图15 4.2、仿真波形图16 5、课程设计心得体会17 6、参考文献17 7、附录 附录一:protel原理图18 附录二:PCB图 18 附录三:焊接后的电路板实物图19 附录四:实际电路板调试后发生阶梯波图19 附录五:实验源程序19 1.1设计任务与要求: 1 采用AT89S51及DAC0832设计函数信号发生器; 2 输出信号为正弦波或三角波或阶梯波; 3 输出信号频率为100Hz,幅度-5V—+5V可调; 4 必须具

文档评论(0)

1亿VIP精品文档

相关文档