【正文】
9850。 DDS。 根據系統(tǒng)的最終測試結果可知該信號發(fā)生器 具有輸出信號波形 精度高 , 頻帶寬等特點 。軟件部分主要開 發(fā)基于單片機AT89S52 的數據處理和控制程序 , 以及信號發(fā)生器的外部通信程序 。最后 詳細分析了該信號發(fā)生器的系統(tǒng)結構 ,軟硬件設計和具體電路實現 。浙江科技學院信息與電子工程學院 2020 屆本科畢業(yè)設計(論文) I 摘要 本文首先介紹了信號發(fā)生器的發(fā)展以及直接數字頻率合成技術 (DDS)的現狀和發(fā)展趨勢,然后 介紹了 DDS 的原理結構及其主要構成部分。 再根據系統(tǒng)的要求,比較 合理地采用了 DDS 技術 , 以 單片機 AT89S52 和 AD9850 芯片為核心 , 設計了一種結構簡單性能優(yōu)良的信號發(fā)生器 。 信號發(fā)生器的硬件部分包括三個模塊 ,分別是單片機主 控制模塊 , DDS 模塊和信號頻率顯示 模塊 。 最 終 完成實驗電路板的制作 , 并通過電路板的調試 , 實現 電路工作正常 。 關鍵詞: 信號發(fā)生器; DDS; AT98S52; AD9850; 頻率; 浙江科技學院信息與電子工程學院 2020 屆本科畢業(yè)設計(論文) II ABSTRACT This article describes the development of the signal generator, the status and development trends of direct digital frequency synthesis (DDS) technology at first, then introduces the principle of DDS structure and its main ponents. According to system requirements, more rational use of DDS technology, singlechip AT89S52 and AD9850 chip as the core, has designed a simple structure and excellent performance of the signal generator. Finally, there is a detailed analysis of the signal generator system architecture, hardware and software design and specific circuit implementation. The hardware portion of the signal generator consists of three modules, namely, singlechip main control module, DDS module and signal frequency display module. Some of the major software development based on MCU AT89S52 data processing and control procedures, as well as external munication signal generator program. Completing the pilot circuit board production, and through the debug board to realize the circuit is working properly. According to the results of final test, the system shows that the output signal waveform signal generator has high accuracy, bandwidth and other characteristics. Keywords: Signal Generator。 AT98S52。 Frequency 浙江科技學院信息與電子工程學院 2020 屆本科畢業(yè)設計(論文) III 目錄 摘要 ................................................................................................................................ I ABSTRACT .................................................................................................................. II 第 1 章 緒論 ..................................................................................................................1 課題背景 ........................................................................................................1 課題的主要研究目的和意義 ........................................................................1 第 2 章 DDS 簡介 ...........................................................................................................3 DDS 結構 ........................................................................................................3 頻率預置與調節(jié)電路 ....................................................................................4 累加器 ............................................................................................................4 控制相位和控制波形的加法器 ....................................................................5 波形存儲器 ....................................................................................................5 D/A 轉換器 .....................................................................................................5 低通濾波器 ....................................................................................................6 第 3 章 系統(tǒng)整體設計方案 ..........................................................................................7 系統(tǒng)設計原理 ................................................................................................7 總體設計框圖 ................................................................................................7 第 4 章 系統(tǒng)各模塊組成 ..............................................................................................8 單片機控制模塊 ............................................................................................8 AT89S52 單片機介紹 .........................................................................8 AT89S52 功能特性描述 .....................................................................8 時鐘電路 .......................................................................................... 11 復位電路 .......................................................................................... 11 按鍵控制模塊 ..............................................................................................12 LCD 顯示模塊 ..............................................................................................13 AD9850 與單片機連接 模塊 .......................................................................13 AD9850 簡介 ....................................................................................13 AD9850 的控制字與控制時序 ........................................................16 單片機與 AD9850 的接口 ..............................................................18 第 5 章 軟件設計與硬件調試 ....................................................................................20 浙江科技學院信息與電子工程學院 2020 屆本科畢業(yè)設計(論文) IV 程序流程圖 ..................................................................................................20 軟件測試 ......................................................................................................21 硬件電路制作 ..............................................................................................21 硬件電路調試 ..............................................................................................22 第 6 章 結束語 ............................................................................................................27 致謝 ..............................................................................................................................28 參考文獻 ......................................................................................................................29 附錄 1 原理圖 ...