摘要
利用单片机控制灵活的特点,采用软件方式实现信号生成和添加干扰.为方便添加方波干扰,系统采用模拟直接数字频率合成(DDS)基本工作原理方法,使用片外存储器替代DDS芯片的ROM波形查询表实现相幅转换.系统采用AT89C51单片机实现数据处理,DAC0832实现D/A转换,采用4×4键盘完成参数设定,液晶12864显示波形参数和操作提示,实现了正弦波、方波、三角波信号生成、幅值和频率调节,方波干扰添加以及各种波形信号的参数控制.
Based on easy-control single-chip microcomputer,goals like generating signals and adding interference are realized by programming,which focus on simulating the basic working principle of direct digital frequency synthesis(DDS) technology.Instead of using DDS ROM waveform inquiry form simply,an external memory is used in the system to realize the phase-amplitude conversion.With AT89C51 MCU to control,DAC0832 to convert signal,a 4×4 keyboard to set waveform parameters and 12864 LCD to display waveform parameters and operating tips,the system realizes such functions as generating sine wave,square wave and triangle wave signals,adjusting signal amplitude and frequency,adding square wave interference and so on.
出处
《机械与电子》
2010年第10期3-7,共5页
Machinery & Electronics
基金
国家"十一五"科技支撑计划重点项目(2008BAJ09B02-2)