【正文】
差值。. According to the different input frequency, there are 1Hz、 10Hz and 100Hz step value, and the phase step value is 1 176。 綜合測試證明,頻率精度達到 %,移相精度達到 1 度,在 10kΩ 負載電阻上的電壓峰 峰值 Vopp≥ 10V。任意預(yù)置。 系統(tǒng)可輸出三相正弦波和調(diào)制信號波。 論文詳細討論了正弦信號和調(diào)制信號的產(chǎn)生、頻率精確控制、三路移相輸出、D/A轉(zhuǎn)換與四階巴特沃思低通濾波電路、電流電壓轉(zhuǎn)換電路、 4*4鍵盤與 lcd12864顯示器等諸方面軟硬件實現(xiàn)方法 。 基于 DDS技術(shù)三相正弦信號發(fā)生器的設(shè)計與實現(xiàn) 中 文 摘 要 本設(shè)計是基于 EDA技術(shù),在 Quartus II開發(fā)平臺上 ,采用自頂向下的設(shè)計方法 設(shè)計, 主芯片采用 EP2C5T144C8。 以在 FPGA中嵌入的 8051單片機 軟核為控制核心,設(shè)計 完成了基于 DDS技術(shù)三相正弦信號發(fā)生器的制作。 嵌入的 8051單片機 軟核負責(zé)界面顯示、鍵盤掃描和頻率與相位控制字的串行輸出。調(diào)制信號頻率在 100Hz~ 1kHz 頻率范圍內(nèi)可任意預(yù)置,正弦波頻率在 1Hz~30KHz 范圍內(nèi)任意預(yù)置,兩相間的相位差在 0~359176。根據(jù)輸入頻率大小不同,分別有 1Hz、 10Hz 和 100Hz步進值,相位步進值為 1176。 關(guān)鍵詞:低頻三相; FPGA; DDS; 8051單片機軟核;移相 The Design and Implementation of Threephase Sinusoidal Signal Generator Based on DDS Technology Abstract The design is based on EDA technology and development platform in the Quartus II with the use of topdown design method, the main chip is EP2C5T144C8. Embedded in the FPGA with 8051 softcore for the control of the core, the design is pleted the Threephase Sinusoidal Signal Generator Based on DDS Technology. This article discusses in detail various aspects of hardware and software implementations, such as the creation of sinusoidal signal generator and FM signal, the precision control of frequency, the dual phaseshifted output, the circuit of D / A conversion and fourthorder Butterworth lowpass filter, the converter of currentvoltage, 4 * 4 keyboard and lcd12864 displays and so on. The embedded 8051 microcontroller softcore is responsible for interface display, keyboard scanning, and the serial output of the frequency control word and phase control word. The system can output threephase sinewave and FM signal wave. The modulation frequency can be arbitrarily preset in 100Hz ~ 1kHz, The sine wave frequency can be arbitrarily preset in 1Hz ~ 30KHz, The phase difference between any two phases can be arbitrarily preset in 0 ~ 359 176。. The prehensive test shows that the accuracy of the frequency is %, the accuracy of phase moving is 1 degree, and the Vopp in the 10kΩ load resistor is ≥ 10V. KEY WORD : Lowfrequency and threephase ; FPGA ; DDS ; 8051 microcontroller Softcore; Phase moving 目錄 第一章 前言 .................................................................................................................... 1 基于 DDS三相正弦波設(shè)計目的及意義 .................................................................. 1 DDS研究現(xiàn)狀 ..................................................................................................... 1 系統(tǒng)設(shè)計內(nèi)容 ..................................................................................................... 2 第二章 系統(tǒng)設(shè)計 ............................................................................................................. 3 第三章 理論分析 ............................................................................................................. 4 DDS基本原理 ..................................................................................................... 4 基于 DDS的三相正弦波產(chǎn)生模塊 ......................................................................... 5 調(diào)頻信號產(chǎn)生模塊 .............................................................................................. 5 第四章 分析與計算 .......................................................................................................... 7 DDS合成波頻率 .................................................................................................. 7 累加器位數(shù)的確定 .............................................................................................. 7 頻率控制字( FSW)位數(shù) ..................................................................................... 8 0f 的確定 ......................................................................... 8 FSW 位數(shù)的確定 ...................................................................................... 8 相位控制字( PSW)位數(shù) ..................................................................................... 8 第五章 FPGA內(nèi)部邏輯設(shè)計 .............................................................................................. 9 ........................................................................................... 9 基本結(jié)構(gòu)和功能 ....................................................................................... 9 8051 軟核系統(tǒng)構(gòu)建及下載 ...................................................................... 10 8051 軟核軟件測試 ................................................................................ 11 三相正弦波產(chǎn)生模塊設(shè)計 ................................................................................. 12 ROM 波形數(shù)據(jù)的獲取 ............................................................................ 12 模塊頂層電路設(shè)計 ................................................................................. 13 調(diào)頻信號產(chǎn)生模塊 設(shè)計 ..................................................................................... 13 第六章 硬件電路設(shè)計 .................................................................................................... 14 D/A轉(zhuǎn)換電路 .................................................................................................. 14 低通濾波電路 ................................................................................................... 14 波形移位和電壓放大電路 ................................................................................. 15 第七章 單片機程序設(shè)計 ..................................................................