【正文】
段也提出了更高的要求,信號(hào)發(fā)生器己成為測(cè)試儀器中至關(guān)重要的一類,因此開發(fā)信號(hào)發(fā)生器具有重大意義。現(xiàn)在,許多信號(hào)發(fā)生器除了帶有微處理器,因而具備了自校、自檢、自動(dòng)故障診斷和自動(dòng)波形形成和修正等功能外,還帶有 IEEE 488 或 RS232 總線,可以和控制計(jì)算機(jī)及其他 測(cè)量?jī)x器一起方便地構(gòu)成自動(dòng)測(cè)試系統(tǒng)。因此,信號(hào)發(fā)生器的表現(xiàn)就至關(guān)重要。 關(guān)鍵 詞 : 信號(hào)發(fā)生器 相移 DDS FPGA II Title The System of digital phase shift signal generator based on FPGA Design Abstract Signal sources with high accuracy and operational frequency are used in the fields of research and application of modern electronics measuring technology. Digital phase shift signal represent the development with it being one of the most widely measuring technology in the field. With the development of FPGA in a large scale and the maturing of SOPC, design technology have provided theoretical basis and technological support for the design and realization of such signal generators. This design of digital phase shift signal generator for FPGA as the core ,with the FPGA as to achieve the frequency ,phase, preset and step, and plete the signal frequency and phase display .AS used in the design of direct digital synthesis(DDS). Technology and effectively extends the use of FPGA output waveform of the frequency range to achieve the output of twoway highprecision phase of the sinusoidal signal, so that the system is stable and reliable. With EDA software for the system, using VHDL language, to meet the CNC system for machining higher demands. Experimental results show that the original part of the CNC system pared to the control circuit design using EDA technology makes the NC phase shift signal generator system with higher reliability, realtime, high operation speed and high integration. At the same time as EDA technology with insystem programmable FPGA chip features, so the shift key signal generator is designed to change the same as the software, which brings the system to facilitate maintenance. Combined with FPGA to extend effectively the frequency range of the output waveform to achieve the output of twoway highprecision phase of the sinusoidal signal, so III that the system is stable and reliable. Keywords: signal generators digital phase shift DDS FPGA IV 目 錄 摘 要 ............................................................................................................................I Abstract ........................................................................................................................ II 目 錄 .......................................................................................................................... IV 1 緒論 ........................................................................................................................... 1 課題背景 ............................................................................................................. 1 課題研究的目的和意義 .......................................................................................... 2 國(guó)內(nèi)外發(fā)展概況 ................................................................................................... 3 2 系統(tǒng)設(shè)計(jì) 方案的研究 ............................................................................................. 5 移相方案的比較與選擇 .................................................................................... 5 系統(tǒng)的總體方案 .................................................................................................. 7 DDS 基本原理 .................................................................................................. 8 DDS 基礎(chǔ)上數(shù)字相移信號(hào)發(fā)生器 .............................................................. 10 DDS 系統(tǒng)在 FPGA 上實(shí)現(xiàn) ................................................................................. 11 3 系統(tǒng)模塊設(shè)計(jì) ........................................................................................................ 13 FPGA 設(shè)計(jì)的模塊劃分 ...................................................................................... 13 地址發(fā)生器的設(shè)計(jì) ........................................................................................... 14 相位累加器的設(shè)計(jì) ........................................................................................... 14 波形 ROM的設(shè)計(jì) ............................................................................................... 17 4 系統(tǒng)外圍電路設(shè)計(jì) .................................................................................................. 18 D/A 轉(zhuǎn)換電路的設(shè)計(jì) ........................................................................................ 18 低通濾波器的設(shè)計(jì) ............................................................................................ 19 V 系統(tǒng)時(shí)鐘的設(shè)計(jì) ................................................................................................ 20 單片機(jī)控制部分的設(shè)計(jì) ................................................................................... 21 5 系統(tǒng)模塊軟件設(shè)計(jì) ............................................................................................... 24 軟件的開發(fā)環(huán)境 ................................................................................................ 24 5 .2 DDS 的源代碼及仿真波形 ............................................................................. 25 結(jié) 論 ........................................................................................................................ 29 致 謝 .......................................................................................................................... 30 參考文獻(xiàn) ...................................................................................................................... 31 附錄:數(shù)字相移信號(hào)發(fā)生器的程序; ...................................................................... 32 1 1 緒論 課題背景 隨著科學(xué)技術(shù)的飛速發(fā)展,電子測(cè)量技術(shù)被廣泛應(yīng)用在電子、機(jī)械、醫(yī)療、測(cè)控及航天等各個(gè)領(lǐng)域。設(shè)計(jì)中采用的 是 直接 數(shù)字頻率合成( DDS)技術(shù), 該技術(shù) 是一項(xiàng)關(guān)鍵的數(shù)字技術(shù),能很好實(shí)現(xiàn)信號(hào)在幅度,頻率以及相位等方面的移動(dòng)。 2020 屆畢業(yè)生 畢業(yè)論文 題 目 : 基于 FPGA 的 數(shù)字相移信號(hào)發(fā)生器系統(tǒng)的設(shè)計(jì) 院系名稱: 信息科學(xué)與工程學(xué)院