【正文】
一門限進(jìn)行比較得到方波時鐘信號。 DDS是產(chǎn)生高精度、快速變換頻率、輸出波形失真小的優(yōu)先選用技術(shù)。 在頻率合成( FS, Frequency Synthesis)領(lǐng)域中,常用的頻率合成技術(shù)有模擬鎖相環(huán)、數(shù)字鎖相環(huán)、小數(shù)分頻鎖相環(huán)( fractionalN PLL Synthesis)等,直接數(shù)字合成 (Direct Digital Synthesis- DDS)是近年來新的 FS 技術(shù)。 近年來,隨著直接數(shù)字頻率合成技術(shù) (direct digital frequency synthesis,簡稱 DDS)的發(fā)展,基于 DDS 技術(shù)的合成信號發(fā)生器,在正弦信號源的設(shè)計與使用中日益廣泛.它與以往的射頻信號源、鎖相信號源和模擬頻率合成信號源相比較,其頻率分辨率高,指定頻率的重復(fù) 性好,而且易于程序控制. DDS技術(shù)的原理主要是通過相位與幅度的對應(yīng)關(guān)系實現(xiàn)的,由于不同的控制字對應(yīng)相位累加器中不同的相位累加速度,用此速度從正弦幅值表中進(jìn)行查詢,獲得指定的幅度序列,最后通過數(shù)模轉(zhuǎn)換輸出。 背景 DDS 技術(shù)目前已成為頻率合成技術(shù)發(fā)展的主流方向,它高度的集成性,對于簡化電子系統(tǒng)的設(shè)計方案,降低硬件的復(fù)雜程度,提高系統(tǒng)的整機(jī)性能意義重大。 測試數(shù)據(jù) ................................................... 24 167。 測試使用儀器 ............................................... 23 167。 /計數(shù)器 0中斷子程序 ................................... 18 167。 16 167。 電源模塊 ................................................... 15 第四章 軟件程序設(shè)計 AD9851及外圍模塊 ........................................... 10 AD9851芯片簡介 ......................................... 11 ........................................... 11 AD9851的控制字與控制時序 ............................... 13 AD9851模塊電路圖 ....................................... 13 167。 .................................................... 8 167。 .................................................... 7 167。 DDS的相關(guān)計算 ............................................... 6 第三章 硬件電路設(shè)計 正弦信號發(fā)生器的基本原理 ..................................... 4 167。 .................................................... 3 167。 .................................................... 1 167。 關(guān)鍵詞 : 單片機(jī), AD9851, DDS 中國地質(zhì)大學(xué)(武漢)學(xué)士學(xué)位論文 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。 包括后期的整機(jī)測試與調(diào)試, 并且在 完成調(diào)試之后 ,進(jìn)行了 PCB 板的設(shè)計 并完成 PCB 板的焊接調(diào)試。 此次設(shè)計的信號發(fā)生器的 輸出頻率范圍為: 1KHZ~100HZ,同時 具有頻率設(shè)置功能,步長為 100HZ,且 輸出電壓幅度在 50 歐姆負(fù)載上電壓峰峰值 不小于1 伏。 AD9851是一款專業(yè)級的正弦信號產(chǎn)生器件。 目前使用波形發(fā)生器 大部分是利用分立元件組成的起體積大,可靠性差,準(zhǔn)確度低。 畢業(yè)論文作者(簽字): 簽字日期 年 月 日 中國地質(zhì)大學(xué)(武漢)學(xué)士學(xué)位論文 摘 要 信號發(fā)生器是科研、教學(xué)實驗及各種電子測量技術(shù)中很重要 的一種信號源,隨著科學(xué)技術(shù)的迅速發(fā)展,對信號源的要求也越來越高: 要求 信號源的頻率穩(wěn)定度、準(zhǔn)確度及分辨率要高、以適應(yīng)各種高精度的測量 。中國地質(zhì)大學(xué)(武漢)學(xué)士學(xué)位論文 本科畢業(yè)論文(設(shè)計) 題目: 正弦信號發(fā)生器的設(shè)計 姓 名: 李心雨 學(xué)號: 20202003622 院(系) : 機(jī)電學(xué)院 專業(yè): 電子信息工程 指導(dǎo)教師: 張惠捷 職稱: 副 教 授 評閱教師: 羅大鵬 職稱: 講 師 2020 年 6 月 中國地質(zhì)大學(xué)(武漢)學(xué)士學(xué)位論文 本科生畢業(yè)論文(設(shè)計)原創(chuàng)性聲明 本人以信譽聲明:所呈交的畢業(yè)論文(設(shè)計)是在導(dǎo)師指導(dǎo)下進(jìn)行的研究工作及取得的研究成果,論文中引用他人的文獻(xiàn)、數(shù)據(jù)、圖件、資料均已明確標(biāo)注出,論文中的結(jié)論和結(jié)果為 本人獨立完成,不包含他人成果及為獲得中國地質(zhì)大學(xué)或其他教育機(jī)構(gòu)的學(xué)位或證書而使用過的材料。與我一同工作的同志對本研究所做的任何貢獻(xiàn)均已在論文中作了明確的說明并表示了謝意。 為了滿足這種高的要求,各國都在研制一些頻率合成信號源,這種信號源一般都是由一個高穩(wěn)定度和高準(zhǔn)確度的標(biāo)準(zhǔn)參考頻率源,采用鎖相技術(shù)產(chǎn)生千百萬個具有同一穩(wěn)定度和準(zhǔn)確度的頻率信號源,為了達(dá)到高的分辨率往往要采用多個鎖相環(huán)和小數(shù)分頻技術(shù),因此使電路復(fù)雜、設(shè)備體積圈套、成本較高,傳統(tǒng)的頻率合成器由于采用倍頻、分頻、混頻和濾波環(huán)節(jié),使頻率合成技術(shù)( DDS),與傳統(tǒng)的頻率合成技術(shù)相比, DDS 具有頻率分辨率高、頻率轉(zhuǎn)變速度快、輸出相位連續(xù)、相位噪聲低、可編程和全數(shù)字化、便于集成等突出優(yōu)點、成為現(xiàn)代頻率合成技術(shù)中的佼佼者,得 到越來越廣泛的應(yīng)用,成為眾多電子系統(tǒng)中不可缺少的組成部分。 本設(shè)計 介紹一種以 AT89S5 AD9851 為核心器件 ,配置相應(yīng)的外設(shè)及接口電路,用 C語言開發(fā)完成 的 DDS正弦信號發(fā)生器。它的特點是 電路整體結(jié)構(gòu) 簡單,輸出信號波形好,控制簡單,而且易于實現(xiàn)程控 。 我的畢業(yè)設(shè)計的核心任務(wù)是在一定的硬件基礎(chǔ)上進(jìn)行軟件的編寫 。 我在畢業(yè)設(shè)計的論文中用第二、三、四章分別闡述了此次設(shè)計的原理、硬件電路設(shè)計以及軟件設(shè)計,并在第五章對此信號發(fā)生器進(jìn)行了測試分析。 The fifth chapter describe the test data obtained from the signal generator. Key words: DDS, MCU, AD9851 中國地質(zhì)大學(xué)(武漢)學(xué)士學(xué)位論文 目 錄 第一章 緒論 1 167。 .................................................... 1 167。 ................................................ 3 第二章 系統(tǒng)原理分析 4 167。 DDS的基本工作原理 ........................................... 4 167。 7 167。 ....................................... 7 167。 單片機(jī)最小系統(tǒng)模塊 .......................................... 8 AT89S52單片機(jī)簡介 ....................................... 8 單片機(jī)模塊電路圖 ....................................... 10 167。 LCD顯示模塊 .