基於FPGA與音訊CODEC之可程式化音訊訊號產生器設計與實作

Design and Implementation of a Programmable Audio Signal Generator Using FPGA and Audio CODEC

檔案

日期

2026

類型

語言

中文

摘要

本論文提出一套基於 FPGA 與音訊 CODEC 之可程式化音訊訊號產生器,並以 DE25-Standard FPGA 開發板與 SSM2603 音訊 CODEC 作為實作平台。系統整合 PLL 時脈產生、I2C CODEC 初始化、DDS 正弦波產生與 I2S 音訊資料傳輸,完成由 FPGA 內部產生數位音訊樣本,並經由 CODEC 轉換為類比音訊輸出之完整流程。本研究透過 PLL 產生 18.432 MHz Master Clock 作為音訊系統時脈基準,並由 FPGA 透過 I2C 介面完成 CODEC 初始化;音訊訊號則採用 DDS 架構產生正弦波樣本,並透過 SW[2:0] 切換不同 frequency control word,以輸出 250 Hz、500 Hz、1 kHz、2 kHz、4 kHz 與 8 kHz 等代表頻率。實驗結果透過 Quartus Prime 編譯與燒錄、板上 LED 與七段顯示器,以及 Signal Tap 內部訊號擷取進行驗證,確認系統可完成 Master Clock 產生、CODEC 初始化、I2S 傳輸與 DDS 多頻率正弦波輸出。此架構展現 FPGA 在數位音訊訊號產生、硬體介面控制與音訊資料傳輸整合上的可行性,可作為純音產生、教學展示,以及後續音階、旋律或多音訊號應用之基礎。
This thesis presents the design and implementation of an FPGA-based programmable audio signal generator using the DE25-Standard FPGA development board and the SSM2603 audio CODEC. The proposed system establishes a complete audio output path from sine-wave synthesis inside the FPGA to I2S data transmission and analog audio output through the CODEC. The architecture integrates PLL clock control, I2C CODEC initialization, Direct Digital Synthesis (DDS), and I2S audio transmission. An 18.432 MHz Master Clock is generated as the timing reference for the audio system, while the CODEC is configured through the I2C interface to receive digital audio data and produce analog output. The DDS module generates audio samples with selectable frequency control words through SW[2:0], allowing the system to output representative pure tones at 250 Hz, 500 Hz, 1 kHz, 2 kHz, 4 kHz, and 8 kHz. The implementation is verified through Quartus Prime compilation and programming, on-board LED and seven-segment display observations, and internal signal captures using Signal Tap Logic Analyzer. The results confirm that the system successfully performs clock generation, CODEC initialization, I2S data transmission, and multi-frequency sine-wave output. This work demonstrates the feasibility of using FPGA hardware for programmable audio signal synthesis and interface integration, and provides a foundation for future applications such as musical scale generation, simple melody playback, and multi-tone audio output.
顯示完整詮釋資料 統計資料

引用此條目

郭亮吟 (2026). 基於FPGA與音訊CODEC之可程式化音訊訊號產生器設計與實作. https://thesis.lib.nycu.edu.tw/handle/20.500.14371/89692

BibTeX RIS

引用文字依 APA 第 7 版格式自動產生,使用前請再核對。

分享

永久網址:https://thesis.lib.nycu.edu.tw/handle/20.500.14371/89692