- 1、本文档共26页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
姜金铎函数信号发生器设计总结
摘 要
信号发生器作为一种重要的信号源,已经被广泛的应用于科研、教学实验及各种电子测量领域中。随着科学技术的发展与进步,为了满足提高测量结果的精度这一要求,需要对信号源的设计方法做出改进,使信号源达到频率稳定、准确度高的要求,还需要实现波形选择,频率和幅值可调的功能,以满足实际需要的多样性。
本课题设计了一种以单片机为主控核心,通过软件编程结合硬件电路的方式实现的函数信号发生器,该信号发生器利用AT89S52单片机通过软件编程产生数字量的信号,再通过DAC0832芯片转换成模拟信号输出。本设计可以根据所需,选择需要的波形:三角波、正弦波或者方波,通过键盘设定所需的频率、幅值,而且波形、频率、幅值等参数都可以通过液晶显示器显示出来。本函数信号发生器操作方便,成本低廉,性能优良,频率稳定,准确度高,参数可调,能满足测试的基本需要。
关键词:信号发生器;AT89S52单片机;DAC0832
ABSTRACT
Signal generator is a very important source and the application is extremely broad in research,teaching experimental and electronic measurement field. With the rapid development of science and technology, the requirements of sources are also increasing which require sources with high frequency stability, accuracy and resolution to meet the needs of a variety of high-precision measurements. Common waveform generator only generates several signal waveforms, which is difficult to accurately adjust various parameters and it can not meet the actual needs. Therefore, this paper utilizes the AT89S52 microcontroller, DAC0832 and other components to achieve and develop microcontroller-based signal generator system through soft and hard way. The function signal generator can accurately generate a frequency, waveform and amplitude of the desired signal according to our requirements.
The signal generator system control two DAC0832 chip by a microcontroller AT89S52 , which generate waveforms, and the other piece adjust waveform amplitude. This dual-channel operation allows waveform and amplitude have respective chip to control themself to make it more accurate. The system can select the required waveform, triangle wave, sine or square wave based on needs,through the keyboard to set the desired frequency, amplitude, and waveform, frequency, amplitude, and other parameters to be displayed by the LCD monitor. The operation is quite simple and the cost is relatively low. This system has excellent performance , precise parameters, without distortion through experimental testing ,an
文档评论(0)