【正文】
個對應的模擬正弦波信號,最后該模擬正弦波與一門限進行比較得到方波時鐘信號。 DDS是產(chǎn)生高精度、快速變換頻率、輸出波形失真小的優(yōu)先選用技術。 在頻率合成( FS, Frequency Synthesis)領域中,常用的頻率合成技術有模擬鎖相環(huán)、數(shù)字鎖相環(huán)、小數(shù)分頻鎖相環(huán)( fractionalN PLL Synthesis)等,直接數(shù)字合成 (Direct Digital Synthesis- DDS)是近年來新的 FS 技術。 近年來,隨著直接數(shù)字頻率合成技術 (direct digital frequency synthesis,簡稱 DDS)的發(fā)展,基于 DDS 技術的合成信號發(fā)生器,在正弦信號源的設計與使用中日益廣泛.它與以往的射頻信號源、鎖相信號源和模擬頻率合成信號源相比較,其頻率分辨率高,指定頻率的重復 性好,而且易于程序控制. DDS技術的原理主要是通過相位與幅度的對應關系實現(xiàn)的,由于不同的控制字對應相位累加器中不同的相位累加速度,用此速度從正弦幅值表中進行查詢,獲得指定的幅度序列,最后通過數(shù)模轉換輸出。 背景 DDS 技術目前已成為頻率合成技術發(fā)展的主流方向,它高度的集成性,對于簡化電子系統(tǒng)的設計方案,降低硬件的復雜程度,提高系統(tǒng)的整機性能意義重大。 測試數(shù)據(jù) ................................................... 24 167。 測試使用儀器 ............................................... 23 167。 /計數(shù)器 0中斷子程序 ................................... 18 167。 16 167。 電源模塊 ................................................... 15 第四章 軟件程序設計 AD9851及外圍模塊 ........................................... 10 AD9851芯片簡介 ......................................... 11 ........................................... 11 AD9851的控制字與控制時序 ............................... 13 AD9851模塊電路圖 ....................................... 13 167。 .................................................... 8 167。 .................................................... 7 167。 DDS的相關計算 ............................................... 6 第三章 硬件電路設計 正弦信號發(fā)生器的基本原理 ..................................... 4 167。 .................................................... 3 167。 .................................................... 1 167。 關鍵詞 : 單片機, AD9851, DDS 中國地質大學(武漢)學士學位論文 Abstract Signal generator is a research, teaching experiments and a variety of electronic measurement technology is very important as a signal source, with the rapid development of science and technology, demands on the signal source more and more require the signal source frequency stability, higher accuracy and resolution to suit a variety of highprecision measurements, in order to meet this high demand, all countries in the development of a number of frequency synthesized signal source, such sources are normally a high stability and high accuracy degree of standard reference frequency source, using phaselocked with the same technologies used to produce millions of a degree of stability and accurate frequency signal source, in order to achieve high resolution and often using multiple phaselocked loop fractionalN technology, the circuit plex equipment trap volume, high cost, the traditional frequency synthesizer used as multiplier, divider, mixer and filter links, so that frequency synthesis (DDS), and pared to the conventional frequency synthesis, DDS has a frequency resolution high frequency changes in speed, the output phase continuous, low phase noise, programmable and fully digital, easy integration and other advantages, bee a modern leader in synthesizer technology, get more and more widely used, a large number of electronic systems an indispensable ponent. This article describes a kind of AT89S52 and AD9851 as the core ponent of the DDS sine wave generator. AD9851 is a highly professional sine signal generation device. It features, as described above, the circuit structure is simple, the output signal waveform is good, control is simple and easy to implement programcontrolled. AT89S52 and AD9851 will be detailed in the body of the note. The core mission of my graduation project is writing the software on the base of the hardware. Including the latter part of the whole testing and debugging, and after the pletion of the debugging PCB board design and plete the welding of the PCB board debugging In my graduate design thesis, I described the principle of the design of hardware circuit and software design in the third and forth chapter。 包括后期的整機測試與調試, 并且在 完成調試之后 ,進行了 PCB 板的設計 并完成 PCB 板的焊接調試。 此次設計的信號發(fā)生器的 輸出頻率范圍為: 1KHZ~100HZ,同時 具有頻率設置功能,步長為 100HZ,且 輸出電壓幅度在 50 歐姆負載上電壓峰峰值不小于1 伏。 AD9851是一款專業(yè)級的正弦信號產(chǎn)生器件。 目前使用波形發(fā)生器 大部分是利用分立元件組成的起體積大,可靠性差,準確度低。 畢業(yè)論文作者(簽字): 簽字日期 年 月 日 中國地質大學(武漢)學士學位論文 摘 要 信號發(fā)生器是科研、教學實驗及各種電子測量技術中很重要 的一種信號源,隨著科學技術的迅速發(fā)展,對信號源的要求也越來越高: 要求 信號源的頻率穩(wěn)定度、準確度及分辨率要高、以適應各種高精度的測量。中國地質大學(武漢)學士學位論文 本科畢業(yè)論文(設計) 題目: 正弦信號發(fā)生器的設計 院(系) : 機電學院 專業(yè): 電子信息工程 2020 年 6 月 中國地質大學(武漢)學士學位論文 本科生畢業(yè)論文(設計)原創(chuàng)性聲明 本人以信譽聲明:所呈交的畢業(yè)論文(設計)是在導師指導下進行的研究工作及取得的研究成果,論文中引用他人的文獻、數(shù)據(jù)、圖件、資料均已明確標注出,論文中的結論和結果為本人獨立完成,不包含他人成果及為獲得中國地質大學或其他教育機構的學位或證書而使用過的材料。與我一同工作的同志對本研究所做的任何貢獻均已在論文中作了明確的說明并表示了謝意。 為了滿足這種高的要求,各國都在研制一些頻率合成信號源,這種信號源一般都是由一個高穩(wěn)定度和高準確度的標準參考頻率源,采用鎖相技術產(chǎn)生千百萬個具有同一穩(wěn)定度和準確度的頻率信號源 ,為了達到高的分辨率往往要采用多個鎖相環(huán)和小數(shù)分頻技術,因此使電路復雜、設備體積圈套、成本較高,傳統(tǒng)的頻率合成器由于采用倍頻、分頻、混頻和濾波環(huán)節(jié),使頻率合成技術( DDS),與傳統(tǒng)的頻率合成技術相比, DDS 具有頻率分辨率高、頻率轉變速度快、輸出相位連續(xù)、相位噪聲低、可編程和全數(shù)字化、便于集成等突出優(yōu)點、成為現(xiàn)代頻率合成技術中的佼佼者,得到越來越廣泛的應用,成為眾多電子系統(tǒng)中不可缺少的組成部分。 本設計 介紹一種以 AT89S5 AD9851 為核心器件 ,配置相應的外設及接口電路,用 C語言開發(fā)完成 的 DDS正弦信號發(fā)生器。它的特點是 電路整體結構 簡單,輸出信號波形好,控制簡單,而且易于實現(xiàn)程控 。 我的畢業(yè)設計的核心任務是在一定的硬件基礎上進行軟件的編寫 。 我在畢業(yè) 設計的論文中用第二、三、四章分別闡述了此次設計的原理、硬件電路設計以及軟件設計,并在第五章對此信號發(fā)生器進行了測試分析。 The fifth chapter describe the test data obtained from the signal generator. Key words: DDS, MCU, AD9851 中國地質大學(武漢)學士學位論文 目 錄 第一章 緒論 1 167。 .................................................... 1 167。 ................................................ 3 第二章 系統(tǒng)原理分析 4 167。 DDS的基本工作原理 ........................................... 4 167。 7 167。 ....................................... 7 167。 單片機最小系統(tǒng)模塊 .......................................... 8 AT89S52單片機簡介 ....................................... 8 單片機模塊電路圖 ....................................... 10 167。 LCD顯示模塊 ............................................... 13 ...................................