任意波形发生器
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
“美亚光电“杯
安徽省首届大学生电子设计竞赛
设
计
报
告
书
作品名称:参赛学校:参赛成员:任意波形发生器(A题)合肥学院
周海波刘亚军高超
任意波形发生器
摘要
本系统的设计综合了EDA技术和单片机技术的二者之所长,实现了二者在性能、功能以及资源上的良好结合,整个系统可简略分为波形产生模块、单片机控制模块、LCD显示、键盘、幅度控制模块等功能模块。采用直接数字频率合成(DDFS)技术,通过软件对其波形进行控制,实现多种波形的输出及组合。该系统可实现的频率范围宽、幅度和频率精度高,并且实现电路简单,结构较优,利用液晶显示屏实现了良好的中文人机交互界面。
Abstract :The design of this system synthesized the advantages of EDA technology and Microcontroller technology ,and it ……The whole system is made up of the part of wave producer ,the controller of microcontroller ,the display part of LCD ,the keyboard and the controller of range and frequency .The system adopts the method of Direct Digital Frequency Synthesis (DDFS) , whose wave is controlled through software .A few kinds of waves and their combinations can be produced .We can get wide and accurate frequency and high range .At the same time ,this system has less sample circuit and better structure .The LCD that we used can provide us very clear menu when we communicate with the machine.
目录
一、方案论证与比较.......................................................................................................... - 4 -
1.波形产生及频率合成模块.................................................................................... - 4 - 2.幅度控制模块........................................................................................................ - 5 - 3.显示模块................................................................................................................ - 5 - 4.波形存储模块........................................................................................................ - 6 - 二、原理分析...................................................................................................................... - 6 -
1.DDS原理............................................................................................................... - 6 - 2.基本算法................................................................................................................ - 7 - 3.误差分析................................................................................................................ - 7 - 4.DDFS的特点......................................................................................................... - 8 -
三、系统设计...................................................................................................................... - 8 -
四、方案实现.................................................................................................................... - 10 -
1.波形产生.............................................................................................................. - 10 - 2.频率控制.............................................................................................................. - 11 - 3.幅度控制.............................................................................................................. - 13 - 4.液晶显示、键盘输入.......................................................................................... - 13 - 5.波形存储.............................................................................................................. - 13 - 6.功率放大电路...................................................................................................... - 14 - 五、软件系统设计............................................................................................................ - 15 -
程序设计流程图........................................................................................................ - 15 - 六、结果测量及分析........................................................................................................ - 16 -
1.基本波形测试...................................................................................................... - 16 - 2.波形编辑测试...................................................................................................... - 17 - 3.波形存储测试...................................................................................................... - 17 -
七、功能实现.................................................................................................................... - 17 -
八、总结............................................................................................................................ - 18 -