《电工系毕业设计--信号发生器》由会员分享,可在线阅读,更多相关《电工系毕业设计--信号发生器(31页珍藏版)》请在毕设资料网上搜索。
1、 I 摘 要 信号发生器是一种常用的信号源,如今广泛地应用于电子电路、自动控制系统和教学实验等领域。在 科学研究、工程教育及生产实践中,如工业过程控制、教学实验、机械振动试验、动态分析、材料试验、生物医学等领域,常常需要用到低频信号发生器。而在我们日常生在活中,以及一些科学研究中,锯齿波、正弦波 、三角波 和 方波 波信号是常用的基本测试信号。 本设计以 STC89C52 单片机为数据处理和控制核心,在单片机的输出端口接DAC0832 进行 D/A 转换,再通过运算放大器 LM324 进行波形调整,最后输出波形接在示波器上显示。可产生 方波、三角波、正弦波、锯齿波四种低频波形,其中,波形的频率
2、和幅度由程序控制,波形的选择以及波形频率和幅度的调整,可通过扩展在单片机外围的按键来控制。本设计具有线路简单、波形调整方便、结构紧凑、价格低廉、性能优越等优点。 关键词: 数据处理 ;数模转换;信号发生器;波形调整 II Abstract Nowadays, as a kind of common signal source, the signal-generater has been broadly applied at the electronics electric circuit, auto control system and teaching experiment etc. Sci
3、entific 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 so
4、me 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 thro
5、ugh 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