1、 基于单片机函数发生器系统设计 系 别 信息工程系 专 业 自动化/测控技术与仪器 2015 年 6 月 I 摘摘 要要 函数信号发生器是各种测试和实验过程中不可缺少的工具, 在通信、 测量、 雷达、 控制、教学等领域应用十分广泛。为了实验、研究方便,研制一种灵活适用、功能齐 全、使用方便的信号源是十分必要的。当今是科技以及仪表设备高度智能化飞速发展 的信息社会,电子技术的发展进步,给人们的生活带来了根本性的转变。单片机构成 的仪器具有高可靠性,高性价比,在智能仪表系统和办公自动化中得到广泛应用,因 此,基于单片机的函数信号发生器的普及是一种趋势。 本系统是基于 AT89C52 单片机的函数信
2、号发生器。采用 AT89C52 单片机作为控 制核心,外围采用数字/模拟转换电路(DAC0832)、运放电路(LM324)、按键等。 利用单片机设计的函数信号发生器具有编程灵活,功能更加多样等实际的优点。利用 单片机设计的函数信号发生器能够产生正弦波,锯齿波,三角波,方波,并实现对频 率的调节,以及液晶屏 12864 显示波形名称和波形频率,波形的切换和频率的调节都 可以用按键实现,其设计简单、性能优好,可用于多种需要函数信号的场所,具有一 定的实用性。 关键词:单片机;DAC0832;液晶 16824;LM324 II Abstract Function signal generator i
3、s an indispensable tool in the process of testing and experiment, the communication, measurement, are widely used in fields such as radar, control, teaching.For convenient experiment, research and develop a flexible to apply, complete function, easy to use the signal source is very necessary.Todays
4、technology and instrument equipment highly intelligent the rapid development of information society, the development and progress of electronic technology, has brought the fundamental change to peoples life.Single chip instrument has high reliability, high cost performance, the intelligent instrument system and is widely used in office automation, as a result, the popularity of function signal generator based on single chip microcomputer is a kind of trend. This system is based on AT89C52 MC